aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_case_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-05-16 11:09:31 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-05-16 11:10:59 -0300
commit6a4ff5cc0907d7dd9d1b5d606dd045116a3434ca (patch)
tree8751b2edf057359a3b3ad178d06a32b285197103 /actionpack/test/controller/test_case_test.rb
parent89f558c8c6a1f04883456fca573c27b8f72d09ab (diff)
downloadrails-6a4ff5cc0907d7dd9d1b5d606dd045116a3434ca.tar.gz
rails-6a4ff5cc0907d7dd9d1b5d606dd045116a3434ca.tar.bz2
rails-6a4ff5cc0907d7dd9d1b5d606dd045116a3434ca.zip
Revert "Add the options method to action_controller testcase."
This reverts commit 0303c2325fab253adf5e4a0b738cb469c048f008. Conflicts: actionpack/lib/action_controller/test_case.rb REASON: It will conflict with a lot of test cases. Better to call `process` directly since this is a very uncommon HTTP method. Fixes #10638.
Diffstat (limited to 'actionpack/test/controller/test_case_test.rb')
-rw-r--r--actionpack/test/controller/test_case_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb
index 38b9794b4d..7c27458f46 100644
--- a/actionpack/test/controller/test_case_test.rb
+++ b/actionpack/test/controller/test_case_test.rb
@@ -201,11 +201,6 @@ XML
assert_raise(NoMethodError) { head :test_params, "document body", :id => 10 }
end
- def test_options
- options :test_params
- assert_equal 200, @response.status
- end
-
def test_process_without_flash
process :set_flash
assert_equal '><', flash['test']