Browse files

Use steps method.

  • Loading branch information...
1 parent 9306ded commit ec03736e1a9063650ba14beb7d0211d030d5744b Gabe Berke-Williams committed Nov 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/step_definitions/diesel_steps.rb
@@ -3,11 +3,11 @@
Then /^at least one example should have run$/ do
- Then %{the output should match /[1-9]0? examples?/}
+ steps %{Then the output should match /[1-9]0? examples?/}
When /^I add the "([^"]*)" as a diesel engine$/ do |engine_name|
- When %{I add this library as a dependency}
+ steps %{When I add this library as a dependency}
append_to_file('Gemfile', <<-GEM)
gem "#{engine_name}", :path => "#{PROJECT_ROOT}/tmp/aruba/#{engine_name}"

0 comments on commit ec03736

Please sign in to comment.