From f9017915dcb1f9ce0a34403daff9b63e14400ee7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2009 21:57:25 -0400 Subject: [PATCH] Cleanup of "cross method" test on the Bulldog, by removing the unfinished test and also Bulldog.growl method, which becomes obsolete. --- koans/about_inheritance.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/koans/about_inheritance.rb b/koans/about_inheritance.rb index 7bc3a1f..01dde2c 100644 --- a/koans/about_inheritance.rb +++ b/koans/about_inheritance.rb @@ -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