Skip to content

Commit c9b620c

Browse files
committed
make "the JSON should have the following" not skip the first assertion
1 parent 26c9e8e commit c9b620c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/json_spec/cucumber.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
end
6060

6161
Then /^the (?:JSON|json)(?: response)?(?: at "(.*)")? should have the following:$/ do |base, table|
62-
table.rows.each do |path, value|
62+
table.raw.each do |path, value|
6363
path = [base, path].compact.join("/")
6464

6565
if value

0 commit comments

Comments
 (0)