diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 19:25:57 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 19:25:57 -0200 |
commit | 50318f5d7e0e829b835115190a495ffade4fc8ab (patch) | |
tree | fe5c08fed12d748a68047c5a05e19a8b43b8741e /actionpack/test | |
parent | 48164498988e21e0e785592c7291f128838049f3 (diff) | |
download | rails-50318f5d7e0e829b835115190a495ffade4fc8ab.tar.gz rails-50318f5d7e0e829b835115190a495ffade4fc8ab.tar.bz2 rails-50318f5d7e0e829b835115190a495ffade4fc8ab.zip |
Remove duplicated tests
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index a5b246e7ad..2139cf2661 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -58,12 +58,6 @@ class SessionTest < ActiveSupport::TestCase assert_equal 200, @session.request_via_redirect(:get, path, params: args, headers: headers) end - def test_get_via_redirect - path = "/somepath"; args = {:id => '1'}; headers = {"X-Test-Header" => "testvalue" } - @session.expects(:request_via_redirect).with(:get, path, params: args, headers: headers) - @session.get_via_redirect(path, params: args, headers: headers) - end - def test_deprecated_get_via_redirect path = "/somepath"; args = { id: '1' }; headers = { "X-Test-Header" => "testvalue" } @session.expects(:request_via_redirect).with(:get, path, args, headers) @@ -73,12 +67,6 @@ class SessionTest < ActiveSupport::TestCase end end - def test_post_via_redirect - path = "/somepath"; args = {:id => '1'}; headers = {"X-Test-Header" => "testvalue" } - @session.expects(:request_via_redirect).with(:post, path, params: args, headers: headers) - @session.post_via_redirect(path, params: args, headers: headers) - end - def test_deprecated_post_via_redirect path = "/somepath"; args = { id: '1' }; headers = { "X-Test-Header" => "testvalue" } @session.expects(:request_via_redirect).with(:post, path, args, headers) @@ -88,12 +76,6 @@ class SessionTest < ActiveSupport::TestCase end end - def test_patch_via_redirect - path = "/somepath"; args = {:id => '1'}; headers = {"X-Test-Header" => "testvalue" } - @session.expects(:request_via_redirect).with(:patch, path, params: args, headers: headers) - @session.patch_via_redirect(path, params: args, headers: headers) - end - def test_deprecated_patch_via_redirect path = "/somepath"; args = { id: '1' }; headers = { "X-Test-Header" => "testvalue" } @session.expects(:request_via_redirect).with(:patch, path, args, headers) @@ -103,12 +85,6 @@ class SessionTest < ActiveSupport::TestCase end end - def test_put_via_redirect - path = "/somepath"; args = {:id => '1'}; headers = {"X-Test-Header" => "testvalue" } - @session.expects(:request_via_redirect).with(:put, path, params: args, headers: headers) - @session.put_via_redirect(path, params: args, headers: headers) - end - def test_deprecated_put_via_redirect path = "/somepath"; args = { id: '1' }; headers = { "X-Test-Header" => "testvalue" } @session.expects(:request_via_redirect).with(:put, path, args, headers) @@ -118,12 +94,6 @@ class SessionTest < ActiveSupport::TestCase end end - def test_delete_via_redirect - path = "/somepath"; args = {:id => '1'}; headers = {"X-Test-Header" => "testvalue" } - @session.expects(:request_via_redirect).with(:delete, path, params: args, headers: headers) - @session.delete_via_redirect(path, params: args, headers: headers) - end - def test_deprecated_delete_via_redirect path = "/somepath"; args = { id: '1' }; headers = { "X-Test-Header" => "testvalue" } @session.expects(:request_via_redirect).with(:delete, path, args, headers) |