From 12639186cb48d61c1d097f36cd39805f9b022338 Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Tue, 9 Apr 2013 11:26:58 -0400 Subject: [PATCH] Fix order of comparison in about symbols to follow standard. --- src/about_symbols.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/about_symbols.rb b/src/about_symbols.rb index c2c9321..5963c65 100644 --- a/src/about_symbols.rb +++ b/src/about_symbols.rb @@ -50,14 +50,14 @@ class AboutSymbols < Neo::Koan def test_symbols_with_spaces_can_be_built symbol = :"cats and dogs" - assert_equal symbol, __("cats and dogs").to_sym + assert_equal __("cats and dogs").to_sym, symbol end def test_symbols_with_interpolation_can_be_built value = "and" symbol = :"cats #{value} dogs" - assert_equal symbol, __("cats and dogs").to_sym + assert_equal __("cats and dogs").to_sym, symbol end def test_to_s_is_called_on_interpolated_symbols