Skip to content

Commit

Permalink
actually fail when there are unfound models
Browse files Browse the repository at this point in the history
  • Loading branch information
cflipse committed Mar 17, 2010
1 parent ffeec0b commit 40a2267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails_generators/pickle/templates/pickle_steps.rb
Expand Up @@ -27,7 +27,7 @@

# find models with a table
Then(/^the following #{capture_plural_factory} should exists?:?$/) do |plural_factory, table|
find_models_from_table(plural_factory, table)
find_models_from_table(plural_factory, table).should_not be_any(&:nil?)
end

# find exactly n models
Expand Down

0 comments on commit 40a2267

Please sign in to comment.