cucumber-rest-bdd 0.4.0 → 0.4.1.pre.110
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/cucumber-rest-bdd.gemspec +1 -1
- data/lib/cucumber-rest-bdd/steps/response.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11d08f954ddc5e86aa10a2125795e219b4ff1a39
|
4
|
+
data.tar.gz: 494b6cae40d378bac64d9965094571776251e256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd801e6cfbea9aeba6a18e9345f489bcbec1680f18653160c911946f4dbfb0793bbb556f6ebc9085a0b4c1894b5ecf7a3e91a46ba0ff15f3e6ff32bfb1800ec
|
7
|
+
data.tar.gz: bb4bf7148d695a129b5bca8c5ce21c745a734014d42d42b77211a85b8964c8f3df5d16d53693a5012e754f5285ab249b10c04ee1de272ae823cc04dc75f0a49e
|
data/Dockerfile
CHANGED
data/cucumber-rest-bdd.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'cucumber-rest-bdd/types'
|
|
5
5
|
|
6
6
|
Then(/^the response is a list (?:of|containing) (#{FEWER_MORE_THAN})?\s*(#{CAPTURE_INT}|\d+) .*?$/) do |count_mod, count|
|
7
7
|
list = @response.get_as_type get_root_json_path(), 'array'
|
8
|
-
raise %/Expected at least #{count} items in array for path '#{get_root_json_path()}', found: #{list.count}\n#{@
|
8
|
+
raise %/Expected at least #{count} items in array for path '#{get_root_json_path()}', found: #{list.count}\n#{@response.to_json_s}/ if !num_compare(count_mod, list.count, count.to_i)
|
9
9
|
end
|
10
10
|
|
11
11
|
Then(/^the response ((?:#{HAVE_SYNONYM} (?:a|an|(?:(?:#{FEWER_MORE_THAN})?\s*#{CAPTURE_INT}|\d+)) (?:\w+) )*)#{HAVE_SYNONYM} (?:the )?(?:following )?(?:data )?attributes:$/) do |nesting, attributes|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-rest-bdd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1.pre.110
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Bragg
|
@@ -104,9 +104,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "
|
107
|
+
- - ">"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 1.3.1
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
112
|
rubygems_version: 2.4.8
|