We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb2dda8 + a5eb2d2 commit d339d7eCopy full SHA for d339d7e
lib/rspec/rails/matchers/be_a_new.rb
@@ -60,6 +60,7 @@ def unmatched_attributes
60
end
61
62
63
+ # @api public
64
# Passes if actual is an instance of `model_class` and returns `false` for
65
# `persisted?`. Typically used to specify instance variables assigned to
66
# views by controller actions
lib/rspec/rails/matchers/be_new_record.rb
@@ -16,6 +16,7 @@ def failure_message_when_negated
16
17
18
19
20
# Passes if actual returns `false` for `persisted?`.
21
#
22
# @example
0 commit comments