Modified to be less dependent on exact method and constant counts.

This commit is contained in:
Jim Weirich
2010-04-20 16:17:24 -04:00
parent 110ff38b3f
commit 3b824d0e86
2 changed files with 3 additions and 3 deletions

View File

@@ -74,6 +74,6 @@ class AboutScope < EdgeCase::Koan
def test_you_can_get_a_list_of_constants_for_any_class_or_module
assert_equal __(["Dog"]), Jims.constants
assert_equal __(122), Object.constants.size
assert Object.constants.size > _n_(10)
end
end