aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/test_test.rb')
-rw-r--r--actionpack/test/controller/test_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb
index 56c0a90831..305c5b6931 100644
--- a/actionpack/test/controller/test_test.rb
+++ b/actionpack/test/controller/test_test.rb
@@ -108,7 +108,7 @@ XML
def test_raw_post_handling
params = {:page => {:name => 'page name'}, 'some key' => 123}
- get :render_raw_post, params.dup
+ post :render_raw_post, params.dup
assert_equal params.to_query, @response.body
end
@@ -116,7 +116,7 @@ XML
def test_body_stream
params = { :page => { :name => 'page name' }, 'some key' => 123 }
- get :render_body, params.dup
+ post :render_body, params.dup
assert_equal params.to_query, @response.body
end