summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/kernel/eql_spec.rb
blob: 39c9fea7ebed1cfc680ab2d28584e982699dfaa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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