mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
add core/fixnum/hash spec
This commit is contained in:
9
test/test-android/app/core/fixnum/hash_spec.rb
Normal file
9
test/test-android/app/core/fixnum/hash_spec.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user