A lot of times, when I use FactoryGirl in my specs, I keep receiving errors like:
Failure/Error: f = FactoryGirl.build(:my_model)
ActiveRecord::RecordInvalid:
translation missing: de.activerecord.errors.messages.record_invalid
Now, if I start a console in test mode, I get a record back, and I don't get any errors. How should I proceed with this?
EDIT: I was missing the translation and did not see the relevant message. After I switched to a :en
locale, the errors were clear.