summaryrefslogtreecommitdiff
path: root/spec/ruby/core/fixnum/hash_spec.rb
blob: de2996a7c6182f12a1b95c14785a837d6d45cacc (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('../../../spec_helper', __FILE__)

describe "Fixnum#hash" do
  it "is provided" do
    1.respond_to?(:hash).should == true
  end

  it "is stable" do
    1.hash.should == 1.hash
  end
end