Browse files

Fix Cucumber deprecation warnings

This removes the following warning:

    WARNING: Using 'Given/When/Then' in step definitions
    is deprecated, use 'step' to call other steps instead
  • Loading branch information...
exviva committed Jan 21, 2012
1 parent e0de119 commit 8651de2e5adaeb272a2da74e860e469460467fb9
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/step_definitions/additional_cli_steps.rb
@@ -11,8 +11,8 @@
Then /^the example(?:s)? should(?: all)? pass$/ do
- Then %q{the output should contain "0 failures"}
- Then %q{the exit status should be 0}
+ step %q{the output should contain "0 failures"}
+ step %q{the exit status should be 0}
Then /^the file "([^"]*)" should contain:$/ do |file, partial_content|

0 comments on commit 8651de2

Please sign in to comment.