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.
should
1 parent 87d1cf9 commit 9fc1191Copy full SHA for 9fc1191
lib/rspec/rails/extensions/active_record/base.rb
@@ -3,7 +3,7 @@ module Rails
3
if defined?(ActiveRecord)
4
module Extensions
5
module ActiveRecord
6
- # Extension to enhance `should have` on AR Model classes
+ # Extension to enhance `to have` on AR Model classes
7
#
8
# @example
9
@@ -32,7 +32,7 @@ class ::ActiveRecord::Base
32
33
if defined?(::ActiveModel)
34
module ::ActiveModel::Validations
35
- # Extension to enhance `should have` on AR Model instances. Calls
+ # Extension to enhance `to have` on AR Model instances. Calls
36
# model.valid? in order to prepare the object's errors object. Accepts
37
# a :context option to specify the validation context.
38
0 commit comments