summaryrefslogtreecommitdiff
path: root/spec/ruby/core/unboundmethod/eql_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/unboundmethod/eql_spec.rb')
-rw-r--r--spec/ruby/core/unboundmethod/eql_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/unboundmethod/eql_spec.rb b/spec/ruby/core/unboundmethod/eql_spec.rb
index 8e91ef375e..3b299d047a 100644
--- a/spec/ruby/core/unboundmethod/eql_spec.rb
+++ b/spec/ruby/core/unboundmethod/eql_spec.rb
@@ -1,5 +1,7 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "UnboundMethod#eql?" do
- it "needs to be reviewed for spec completeness"
+ it "is an alias of UnboundMethod#==" do
+ UnboundMethod.instance_method(:eql?).should == UnboundMethod.instance_method(:==)
+ end
end