Updates source to be consistent with the _n_ changes.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,6 +10,10 @@ def __(value="FILL ME IN")
|
||||
value
|
||||
end
|
||||
|
||||
def _n_(value=999999)
|
||||
value
|
||||
end
|
||||
|
||||
def ___(value=FillMeInError)
|
||||
value
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user