Skip to content

Instantly share code, notes, and snippets.

@akasper
Created May 29, 2009 18:58
Show Gist options
  • Save akasper/120140 to your computer and use it in GitHub Desktop.
Save akasper/120140 to your computer and use it in GitHub Desktop.
1)
NoMethodError in 'Seeder instance , attempting to create a record that violates class validations should not raise an error'
undefined method `first' for #<Hash:0x3974cb4>
./spec/models/seeder_spec.rb:26:
2)
NoMethodError in 'Seeder instance , attempting to create a record that violates class validations should not create the new record'
undefined method `first' for #<Hash:0x3970358>
./spec/models/seeder_spec.rb:26:
3)
'Seeder instance if no objects exist for a given model, should create a new record for each fixture' FAILED
count should have been changed by 7, but was changed by 6
./spec/models/seeder_spec.rb:18:
Finished in 59.936035 seconds
202 examples, 3 failures, 51 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment