Skip to content
Browse files

Fix wrong identation and remove extra spaces.

  • Loading branch information...
1 parent 1b6886a commit f23f5ec6cde0d0057962fb8475f1dde9243cb440 @josevalim josevalim committed Oct 12, 2011
Showing with 6 additions and 9 deletions.
  1. +6 −9 actionpack/test/dispatch/cookies_test.rb
View
15 actionpack/test/dispatch/cookies_test.rb
@@ -441,19 +441,16 @@ def test_deletings_cookie_with_several_preset_domains_using_other_domain
assert_response :success
assert_cookie_header "user_name=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT"
end
-
def test_cookies_hash_is_indifferent_access
- get :symbol_key
- assert_equal "david", cookies[:user_name]
- assert_equal "david", cookies['user_name']
- get :string_key
- assert_equal "dhh", cookies[:user_name]
- assert_equal "dhh", cookies['user_name']
+ get :symbol_key
+ assert_equal "david", cookies[:user_name]
+ assert_equal "david", cookies['user_name']
+ get :string_key
+ assert_equal "dhh", cookies[:user_name]
+ assert_equal "dhh", cookies['user_name']
end
-
-
def test_setting_request_cookies_is_indifferent_access
@request.cookies.clear
@request.cookies[:user_name] = "andrew"

0 comments on commit f23f5ec

Please sign in to comment.
Something went wrong with that request. Please try again.