Skip to content

Commit

Permalink
Fix typo of subclasses (from subcases)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hedrick committed Mar 22, 2011
1 parent 3fd8d9d commit 4340161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion koans/about_inheritance.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/about_inheritance.rb
Expand Up @@ -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
Expand Down

0 comments on commit 4340161

Please sign in to comment.