Permalink
Browse files

Fix typo of subclasses (from subcases)

  • Loading branch information...
1 parent 3fd8d9d commit 434016150e49611dc2779ce79c48baf0598fa44c Daniel Hedrick committed Mar 22, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 koans/about_inheritance.rb
  2. +1 −1 src/about_inheritance.rb
@@ -31,7 +31,7 @@ def test_all_classes_ultimately_inherit_from_object
assert_equal __, Chihuahua.ancestors.include?(Object)
end
- def test_subcases_inherit_behavior_from_parent_class
+ def test_subclasses_inherit_behavior_from_parent_class
chico = Chihuahua.new("Chico")
assert_equal __, chico.name
end
@@ -31,7 +31,7 @@ def test_all_classes_ultimately_inherit_from_object
assert_equal __(true), Chihuahua.ancestors.include?(Object)
end
- def test_subcases_inherit_behavior_from_parent_class
+ def test_subclasses_inherit_behavior_from_parent_class
chico = Chihuahua.new("Chico")
assert_equal __("Chico"), chico.name
end

0 comments on commit 4340161

Please sign in to comment.