mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-13 06:43:20 -04:00
Merge pull request #56 from werebus/integer-object-id
Fix assertion about the class of `Object#object_id`
This commit is contained in:
@@ -21,7 +21,7 @@ class AboutObjects < Neo::Koan
|
||||
|
||||
def test_every_object_has_an_id
|
||||
obj = Object.new
|
||||
assert_equal __(Fixnum), obj.object_id.class
|
||||
assert obj.object_id.is_a?(__(Integer))
|
||||
end
|
||||
|
||||
def test_every_object_has_different_id
|
||||
|
||||
Reference in New Issue
Block a user