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
`be_a_new(model_class)` and `be_new_record` were
inconsistent in that one of them checked `!persisted?`
and one checked `new_record?`. The docs also said that
both checked `!persisted?` even only one did.
This changes both to use `new_record?` and to be documented
as such.
Fixesrspec#1801.
0 commit comments