make "the JSON should have the following" not skip the first assertion #33

Merged
merged 1 commit into from Mar 19, 2013
@@ -59,7 +59,7 @@
end
Then /^the (?:JSON|json)(?: response)?(?: at "(.*)")? should have the following:$/ do |base, table|
- table.rows.each do |path, value|
+ table.raw.each do |path, value|
path = [base, path].compact.join("/")
if value