You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content below exists in guide from the initial version
Add an example ensuring that the model created with FactoryBot.create is valid.
describe Article do
it 'is valid with valid attributes' do
expect(article).to be_valid
end
end
Content below exists in guide from the initial version
I would not add additional code to spec factory validity if factory bot is delivering that one (also with traits: true)
see: https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#linting-factories