diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-10 01:47:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-10 02:01:10 -0300 |
commit | f2494b536b583c8297a037bc7b636383800fa72f (patch) | |
tree | d6376c136c4ba9a5939c0729493007c50e8c50ab /actionpack/test/controller | |
parent | 30f9af9c092c57c7aca187a9f8c87d58661e8fa8 (diff) | |
download | rails-f2494b536b583c8297a037bc7b636383800fa72f.tar.gz rails-f2494b536b583c8297a037bc7b636383800fa72f.tar.bz2 rails-f2494b536b583c8297a037bc7b636383800fa72f.zip |
Whitespaces :scissors:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/test_case_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 88c45683a3..80e02fd065 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -171,17 +171,17 @@ XML assert_equal params.to_query, @response.body end - + def test_document_body_and_params_with_post post :test_params, :id => 1 assert_equal("{\"id\"=>\"1\", \"controller\"=>\"test_test/test\", \"action\"=>\"test_params\"}", @response.body) end - + def test_document_body_with_post post :render_body, "document body" assert_equal "document body", @response.body end - + def test_document_body_with_put put :render_body, "document body" assert_equal "document body", @response.body @@ -250,7 +250,7 @@ XML process :test_uri, "GET", :id => 7 assert_equal "/test_test/test/test_uri/7", @response.body end - + def test_process_with_old_api assert_deprecated do process :test_uri, :id => 7 |