Permalink
Browse files

Use correct method for exception fill-in blank

  • Loading branch information...
1 parent aa09d17 commit 3ed32b45346c2e6a452748a272e8fde5e382cd0a @mattyoho mattyoho committed Sep 21, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 koans/about_symbols.rb
  2. +1 −1 src/about_symbols.rb
View
2 koans/about_symbols.rb
@@ -70,7 +70,7 @@ def test_symbols_do_not_have_string_methods
# interesting string operations are available on symbols.
def test_symbols_cannot_be_concatenated
# Exceptions will be pondered further father down the path
- assert_raise(__) do
+ assert_raise(___) do
:cats + :dogs
end
end
View
2 src/about_symbols.rb
@@ -70,7 +70,7 @@ def test_symbols_do_not_have_string_methods
# interesting string operations are available on symbols.
def test_symbols_cannot_be_concatenated
# Exceptions will be pondered further father down the path
- assert_raise(__(NoMethodError)) do
+ assert_raise(___(NoMethodError)) do
:cats + :dogs
end
end

0 comments on commit 3ed32b4

Please sign in to comment.