summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/case_compare_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/case_compare_spec.rb')
-rw-r--r--spec/ruby/core/string/case_compare_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/ruby/core/string/case_compare_spec.rb b/spec/ruby/core/string/case_compare_spec.rb
index b83d1adb91..f98ec003be 100644
--- a/spec/ruby/core/string/case_compare_spec.rb
+++ b/spec/ruby/core/string/case_compare_spec.rb
@@ -1,8 +1,7 @@
require_relative '../../spec_helper'
-require_relative 'shared/eql'
-require_relative 'shared/equal_value'
describe "String#===" do
- it_behaves_like :string_eql_value, :===
- it_behaves_like :string_equal_value, :===
+ it "is an alias of String#==" do
+ String.instance_method(:===).should == String.instance_method(:==)
+ end
end