Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 8651de2e5adaeb272a2da74e860e469460467fb9 1 parent e0de119
@exviva exviva authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/step_definitions/additional_cli_steps.rb
View
4 features/step_definitions/additional_cli_steps.rb
@@ -11,8 +11,8 @@
end
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}
end
Then /^the file "([^"]*)" should contain:$/ do |file, partial_content|
Please sign in to comment.
Something went wrong with that request. Please try again.