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

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bd9df6fe6b0ed73ad283c752d2e38df0d32c020
4
- data.tar.gz: 320037080282cf11d62ea58f8dd08c0ef044943e
3
+ metadata.gz: 1a0aca65aac7a280c6f514f6425438d97234be10
4
+ data.tar.gz: fe108a92dea90a2356e17e6ea3a44c111d20293f
5
5
  SHA512:
6
- metadata.gz: 762d3ff737827b4c43b10f468fda469f20309c7b11e57c722ce2b739c3a5f8bab14b55949e02af34b123612de03ced3ec620d50c3d198cbe59c77db89f6af975
7
- data.tar.gz: 3f61671e6ec3e5f75dba30bcc180bae6fcf1aea471b12b7bf688101850442db5a113435d5705803cc80a048573bd9e02552811e98567f937f63ed0bb5ea83761
6
+ metadata.gz: 352f26dcebfd1a031cc86a8bf4ef4aa9aa394f297c53779f70306d4b4acc3b4941e68556b653b4dcc77ba1aed2d3cf9b4a80700144bec5a7ed34a951c378ca04
7
+ data.tar.gz: d6528d718d9e19f35d629fbfa4bb073f1a37b78143569d3cad83de211aa2c73c607bc97d18281980876c7b94f3726db617d078c9fc7a7de790f984652afb364a
@@ -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#{@repsponse.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#{@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.0.pre.107
4
+ version: 0.4.0.pre.109
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Bragg