Skip to content

Commit

Permalink
fix tests for 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis Mazukna committed Dec 22, 2014
1 parent 0d958e8 commit 38e328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/seed-fu/seeder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 38e328b

Please sign in to comment.