mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
12 lines
213 B
Ruby
12 lines
213 B
Ruby
![]() |
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
|