diff options
| -rw-r--r-- | actionpack/test/dispatch/cookies_test.rb | 4 | ||||
| -rw-r--r-- | actionview/lib/action_view/helpers/number_helper.rb | 2 | ||||
| -rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 | 
3 files changed, 3 insertions, 5 deletions
| diff --git a/actionpack/test/dispatch/cookies_test.rb b/actionpack/test/dispatch/cookies_test.rb index dfcef14344..c7194cde4a 100644 --- a/actionpack/test/dispatch/cookies_test.rb +++ b/actionpack/test/dispatch/cookies_test.rb @@ -520,7 +520,7 @@ class CookiesTest < ActionController::TestCase    def test_accessing_nonexistent_signed_cookie_should_not_raise_an_invalid_signature      get :set_signed_cookie -    assert_nil @controller.send(:cookies).signed[:non_existant_attribute] +    assert_nil @controller.send(:cookies).signed[:non_existent_attribute]    end    def test_encrypted_cookie_using_default_serializer @@ -638,7 +638,7 @@ class CookiesTest < ActionController::TestCase    def test_accessing_nonexistent_encrypted_cookie_should_not_raise_invalid_message      get :set_encrypted_cookie -    assert_nil @controller.send(:cookies).encrypted[:non_existant_attribute] +    assert_nil @controller.send(:cookies).encrypted[:non_existent_attribute]    end    def test_setting_invalid_encrypted_cookie_should_return_nil_when_accessing_it diff --git a/actionview/lib/action_view/helpers/number_helper.rb b/actionview/lib/action_view/helpers/number_helper.rb index f0222582c7..23081c5f07 100644 --- a/actionview/lib/action_view/helpers/number_helper.rb +++ b/actionview/lib/action_view/helpers/number_helper.rb @@ -263,8 +263,6 @@ module ActionView        # * <tt>:strip_insignificant_zeros</tt> - If +true+ removes        #   insignificant zeros after the decimal separator (defaults to        #   +true+) -      # * <tt>:prefix</tt> - If +:si+ formats the number using the SI -      #   prefix (defaults to :binary)        # * <tt>:raise</tt> - If true, raises +InvalidNumberError+ when        #   the argument is invalid.        # diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index e70680c773..e8099baa35 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -1042,7 +1042,7 @@ class HashExtTest < ActiveSupport::TestCase      assert_equal 3, new_hash[2]      new_hash.default = 2 -    assert_equal 2, new_hash[:non_existant] +    assert_equal 2, new_hash[:non_existent]    end    def test_to_hash_with_raising_default_proc | 
