Updates source to be consistent with the _n_ changes.

This commit is contained in:
Jim Weirich
2010-04-20 16:25:19 -04:00
parent f0b1560f34
commit c40424e9a4
3 changed files with 7 additions and 3 deletions

View File

@@ -19,11 +19,11 @@ class AboutClassMethods < EdgeCase::Koan
def test_objects_have_methods
fido = Dog.new
assert_equal __, fido.methods.size
assert fido.methods.size > _n_(30)
end
def test_classes_have_methods
assert_equal __, Dog.methods.size
assert Dog.methods.size > _n_(40)
end
def test_you_can_define_methods_on_individual_objects

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 __, Jims.constants
assert_equal __, Object.constants.size
assert Object.constants.size > _n_(10)
end
end

View File

@@ -10,6 +10,10 @@ def __(value="FILL ME IN")
value
end
def _n_(value=999999)
value
end
def ___(value=FillMeInError)
value
end