summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/shared/equal_value.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/shared/equal_value.rb')
-rw-r--r--spec/ruby/core/string/shared/equal_value.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/shared/equal_value.rb b/spec/ruby/core/string/shared/equal_value.rb
index d797cb1483..fccafb5821 100644
--- a/spec/ruby/core/string/shared/equal_value.rb
+++ b/spec/ruby/core/string/shared/equal_value.rb
@@ -17,7 +17,7 @@ describe :string_equal_value, shared: true do
# not call it.
obj.stub!(:to_str)
- # Don't use @method for :== in `obj.should_recerive(:==)`
+ # Don't use @method for :== in `obj.should_receive(:==)`
obj.should_receive(:==).and_return(true)
'hello'.send(@method, obj).should be_true