create_tests 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/create_tests.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4678ea49af1fcb277532f24177e46f9d1234b9a38dd50b4287bff197457f6f6f
|
4
|
+
data.tar.gz: bee12b7e38f367dafd582a45b4e474e732feb02797cb1df6b8a3a5a147aa2ea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14e5178b6ac55820e75b5a2c7ca5b5a8137d10aefeb262400b83802a71a9b47d6432979637334e979c60197db9566e9f6798a9cb9f6d559ac4d17c00c5c6f2e0
|
7
|
+
data.tar.gz: a789358bcfc9ff6c9184318e9c4ae5cacf3532b5410d63f8ab8647d9ae94989ed2119fcc002f783cea5c00d95296a8baec49f6b8be55135f572d6c595eed8091
|
data/lib/create_tests.rb
CHANGED
@@ -221,6 +221,7 @@ class CreateTests
|
|
221
221
|
# fex: HOST=myhosttotest
|
222
222
|
ENV['HOST'] ||= 'defaulthost'
|
223
223
|
NiceHttp.host = ENV['HOST']
|
224
|
+
NiceHttp.log = :file_run
|
224
225
|
# Add here the headers for authentication for example
|
225
226
|
NiceHttp.headers = {
|
226
227
|
Auhentication: 'Token'
|
@@ -297,8 +298,7 @@ class CreateTests
|
|
297
298
|
|
298
299
|
RSpec.describe #{mod_name}, '##{method_txt}' do
|
299
300
|
before(:all) do
|
300
|
-
|
301
|
-
@http = NiceHttp.new({log: \"\#{__FILE__}.log\"})
|
301
|
+
@http = NiceHttp.new()
|
302
302
|
#{params_declaration_txt}@request = #{req_txt}
|
303
303
|
end
|
304
304
|
before(:each) do |example|
|
@@ -329,7 +329,6 @@ class CreateTests
|
|
329
329
|
title = "it 'doesn\\'t retrieve data if not authenticated'"
|
330
330
|
tests[title] = "do
|
331
331
|
http = NiceHttp.new()
|
332
|
-
http.logger = @http.logger
|
333
332
|
http.headers = {}
|
334
333
|
resp = @http.#{request[:method]}(@request)
|
335
334
|
expect(resp.code).to be_between('400', '499')\n"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: create_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rufo
|