mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
12 lines
295 B
Ruby
12 lines
295 B
Ruby
![]() |
require File.expand_path('../../../spec_helper', __FILE__)
|
||
|
require File.expand_path('../../../shared/kernel/equal', __FILE__)
|
||
|
|
||
|
describe "Kernel#eql?" do
|
||
|
it "is a public instance method" do
|
||
|
Kernel.should have_public_instance_method(:eql?)
|
||
|
end
|
||
|
|
||
|
it_behaves_like :object_equal, :eql?
|
||
|
end
|
||
|
|