We include FactoryBot in the Boilerplate, so we should use it where applicable. Notably, controller specs should generate new objects using invention = FactoryBot.create(:invention) rather than invention = Invention.create! valid_attributes