Skip to content

Commit

Permalink
Refactored step related to the amount of scenarios a feature should have
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jul 17, 2010
1 parent 8c15c7e commit 54ca1cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/step_definitions/feature_file_steps.rb
Expand Up @@ -38,8 +38,8 @@
@file.send(property.to_sym).should_not be_nil
end

Then /^the object should have 1 or more scenarios$/ do
@file.scenarios.count.should >= 1
Then /^the object should have (.*) or more scenarios$/ do |amount|
@file.scenarios.count.should >= amount.to_i
end

Then /^each scenario should have the expected steps$/ do
Expand Down

0 comments on commit 54ca1cb

Please sign in to comment.