diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-06-09 00:03:12 -0400 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-06-09 00:03:12 -0400 |
commit | 56de698f6b9b93b48a438856e7ae13ddeaf2b4c1 (patch) | |
tree | 00ea6ee3161a7212b38fa7b94247d42d63a44f22 | |
parent | 154f11663e2fca684e7c6d14d3dffa79b82cb84f (diff) | |
parent | 24d496cef57bd62788c8af130f4510b8c1817e69 (diff) | |
download | rails-56de698f6b9b93b48a438856e7ae13ddeaf2b4c1.tar.gz rails-56de698f6b9b93b48a438856e7ae13ddeaf2b4c1.tar.bz2 rails-56de698f6b9b93b48a438856e7ae13ddeaf2b4c1.zip |
Merge pull request #25332 from abhishekjain16/test_fix
existant => existent
-rw-r--r-- | actionpack/test/dispatch/cookies_test.rb | 4 | ||||
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 |
2 files changed, 3 insertions, 3 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/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 |