From c4c5801bd9ded4c23c1e35f6a4d991f1d16db113 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 13 May 2014 12:09:11 -0300 Subject: Fix assertion order and :scissors: extra spaces --- actionview/test/template/translation_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/test') diff --git a/actionview/test/template/translation_helper_test.rb b/actionview/test/template/translation_helper_test.rb index f166668a60..a9d5ea7345 100644 --- a/actionview/test/template/translation_helper_test.rb +++ b/actionview/test/template/translation_helper_test.rb @@ -152,9 +152,9 @@ class TranslationHelperTest < ActiveSupport::TestCase assert_equal 'A Generic String', translation end - def test_translate_doesnt_change_options + def test_translate_does_not_change_options options = {} translate(:'translations.missing', options) - assert_equal options, {} + assert_equal({}, options) end end -- cgit v1.2.3