add core/float/hash spec

This commit is contained in:
Laurent Sansonetti
2014-04-20 23:17:31 +02:00
parent c537374a75
commit 22353535d0

View File

@@ -0,0 +1,9 @@
describe "Float#hash" do
it "is provided" do
0.0.respond_to?(:hash).should == true
end
it "is stable" do
1.0.hash.should == 1.0.hash
end
end