aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhishek Jain <jainabhishek1610@gmail.com>2016-06-09 09:29:02 +0530
committerAbhishek Jain <jainabhishek1610@gmail.com>2016-06-09 09:29:02 +0530
commit24d496cef57bd62788c8af130f4510b8c1817e69 (patch)
tree00ea6ee3161a7212b38fa7b94247d42d63a44f22
parent154f11663e2fca684e7c6d14d3dffa79b82cb84f (diff)
downloadrails-24d496cef57bd62788c8af130f4510b8c1817e69.tar.gz
rails-24d496cef57bd62788c8af130f4510b8c1817e69.tar.bz2
rails-24d496cef57bd62788c8af130f4510b8c1817e69.zip
existant => existent
-rw-r--r--actionpack/test/dispatch/cookies_test.rb4
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb2
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