cucumber-rest-bdd 0.4.0.pre.109 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a0aca65aac7a280c6f514f6425438d97234be10
4
- data.tar.gz: fe108a92dea90a2356e17e6ea3a44c111d20293f
3
+ metadata.gz: 02095291c470619954a467d341e41f0d90ce70a8
4
+ data.tar.gz: aff0a8e22e6588a83e57d044814e3e704792e38d
5
5
  SHA512:
6
- metadata.gz: 352f26dcebfd1a031cc86a8bf4ef4aa9aa394f297c53779f70306d4b4acc3b4941e68556b653b4dcc77ba1aed2d3cf9b4a80700144bec5a7ed34a951c378ca04
7
- data.tar.gz: d6528d718d9e19f35d629fbfa4bb073f1a37b78143569d3cad83de211aa2c73c607bc97d18281980876c7b94f3726db617d078c9fc7a7de790f984652afb364a
6
+ metadata.gz: 4e7d9b4d7297ae82a1056a6ca9113be33f337937e4fd16dba9c5348d33a50ba7ef99e4d152d0f37969231693728f56ea7645374c68a9b9a067c7f475972f01fb
7
+ data.tar.gz: 8e8a0a6b41f2ff4a4bd8cde0635566de5330d2c79fbe0adb483c16707e1710baeec4ed576e09342246248623c883e97a73e96308c62cc750fe2526975448ae32
@@ -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#{@response.to_json_s}/ if !num_compare(count_mod, list.count, count.to_i)
8
+ raise %/Expected at least #{count} items in array for path '#{get_root_json_path()}', found: #{list.count}\n#{@repsponse.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.0.pre.109
4
+ version: 0.4.0
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: 1.3.1
109
+ version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 2.4.8