diff --git a/koans/about_symbols.rb b/koans/about_symbols.rb index 978a0e0..6e45f16 100644 --- a/koans/about_symbols.rb +++ b/koans/about_symbols.rb @@ -47,7 +47,7 @@ class AboutSymbols < EdgeCase::Koan assert_equal __, string.to_sym end - def test_symbols_with_spaces_can_by_built + def test_symbols_with_spaces_can_be_built symbol = :"cats and dogs" assert_equal symbol, __.to_sym diff --git a/src/about_symbols.rb b/src/about_symbols.rb index 65cd449..1b01168 100644 --- a/src/about_symbols.rb +++ b/src/about_symbols.rb @@ -47,7 +47,7 @@ class AboutSymbols < EdgeCase::Koan assert_equal __(:catsAndDogs), string.to_sym end - def test_symbols_with_spaces_can_by_built + def test_symbols_with_spaces_can_be_built symbol = :"cats and dogs" assert_equal symbol, __("cats and dogs").to_sym