Permalink
Browse files

Remove deprecated substep calls in the json_spec Cucumber steps

  • Loading branch information...
1 parent 9542d86 commit 95e45970b2d20091780c3422f97c76c21ee4f9da @laserlemon laserlemon committed Jan 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/json_spec/cucumber.rb
@@ -47,9 +47,9 @@
path = [base, path].compact.join("/")
if value
- Then %(the JSON at "#{path}" should be:), value
+ step %(the JSON at "#{path}" should be:), value
else
- Then %(the JSON should have "#{path}")
+ step %(the JSON should have "#{path}")
end
end
end

0 comments on commit 95e4597

Please sign in to comment.