From 58238ef54a83b01ef2d5b9c41ebad754cb377b9e Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Tue, 9 Apr 2013 09:30:33 -0400 Subject: [PATCH] Removed fixed object_id koan This koan is not as important now that Ruby 2 has changed all the object ids. --- src/about_objects.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/about_objects.rb b/src/about_objects.rb index 1faf0a0..3d068a9 100644 --- a/src/about_objects.rb +++ b/src/about_objects.rb @@ -30,12 +30,6 @@ class AboutObjects < EdgeCase::Koan assert_equal __(true), obj.object_id != another_obj.object_id end - def test_some_system_objects_always_have_the_same_id - assert_equal __(0), false.object_id - assert_equal __(2), true.object_id - assert_equal __(4), nil.object_id - end - def test_small_integers_have_fixed_ids assert_equal __(1), 0.object_id assert_equal __(3), 1.object_id