diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-06 19:17:39 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-06 19:18:41 -0300 |
commit | 9f765f4e0990742519b91d759a6b4374d940ab98 (patch) | |
tree | de756a9b4f406eeca21c31aede6248fe631a387e /actionpack | |
parent | ed042436295f0f55dc57c582d0b94628e6376e97 (diff) | |
download | rails-9f765f4e0990742519b91d759a6b4374d940ab98.tar.gz rails-9f765f4e0990742519b91d759a6b4374d940ab98.tar.bz2 rails-9f765f4e0990742519b91d759a6b4374d940ab98.zip |
Delete useless arguments
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/cookies_test.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/test/dispatch/cookies_test.rb b/actionpack/test/dispatch/cookies_test.rb index 2eb477e472..1d06a755b8 100644 --- a/actionpack/test/dispatch/cookies_test.rb +++ b/actionpack/test/dispatch/cookies_test.rb @@ -513,7 +513,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_cookies_raises_after_stream_back_to_client with_test_route_set do - get '/set_cookies', nil, {} + get '/set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar['alert'] = 'alert' cookies['alert'] = 'alert' @@ -523,7 +523,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_cookies_raises_after_stream_back_to_client_even_with_an_empty_flash with_test_route_set do - get '/dont_set_cookies', nil, {} + get '/dont_set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar['alert'] = 'alert' } @@ -532,7 +532,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_permanent_cookies_raises_after_stream_back_to_client with_test_route_set do - get '/set_cookies', nil, {} + get '/set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar.permanent['alert'] = 'alert' cookies['alert'] = 'alert' @@ -542,7 +542,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_permanent_cookies_raises_after_stream_back_to_client_even_with_an_empty_flash with_test_route_set do - get '/dont_set_cookies', nil, {} + get '/dont_set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar.permanent['alert'] = 'alert' } @@ -551,7 +551,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_signed_cookies_raises_after_stream_back_to_client with_test_route_set do - get '/set_cookies', nil, {} + get '/set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar.signed['alert'] = 'alert' cookies['alert'] = 'alert' @@ -561,7 +561,7 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest def test_setting_signed_cookies_raises_after_stream_back_to_client_even_with_an_empty_flash with_test_route_set do - get '/dont_set_cookies', nil, {} + get '/dont_set_cookies' assert_raise(ActionDispatch::ClosedError) { request.cookie_jar.signed['alert'] = 'alert' } |