Cleanup of "cross method" test on the Bulldog, by removing the unfinished test and also Bulldog.growl method, which becomes obsolete.

This commit is contained in:
unknown
2009-03-17 21:57:25 -04:00
parent fcf5bd860d
commit f9017915dc

View File

@@ -60,10 +60,6 @@ class AboutInheritance < EdgeCase::Koan
def bark
super + ", GROWL"
end
def growl
super.bark + ", GROWL"
end
end
def test_subclasses_can_invoke_parent_behavior_via_super
@@ -71,11 +67,6 @@ class AboutInheritance < EdgeCase::Koan
assert_equal __, ralph.bark
end
def test_super_does_not_work_cross_method
ralph = BullDog.new("Ralph")
end
# ------------------------------------------------------------------
class GreatDane < Dog