diff options
Diffstat (limited to 'spec/ruby/core/string/case_compare_spec.rb')
| -rw-r--r-- | spec/ruby/core/string/case_compare_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/ruby/core/string/case_compare_spec.rb b/spec/ruby/core/string/case_compare_spec.rb index 930f5bea90..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 File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/eql', __FILE__) -require File.expand_path('../shared/equal_value', __FILE__) +require_relative '../../spec_helper' 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 |
