Permalink
Browse files

fix tests for 4.2

  • Loading branch information...
1 parent 0d958e8 commit 38e328b18ede8f16ea42c64ecca9c3e520e9a0a2 @Nikamura Nikamura committed Dec 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/seed-fu/seeder.rb
@@ -71,7 +71,7 @@ def seed_record(data)
else
record.assign_attributes(data)
end
- record.save(:validate => false) || raise(ActiveRecord::RecordNotSaved)
+ record.save(:validate => false) || raise(ActiveRecord::RecordNotSaved, 'Record not saved!')
record
end

0 comments on commit 38e328b

Please sign in to comment.