From 30f9af9c092c57c7aca187a9f8c87d58661e8fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 10 Jan 2012 01:47:07 -0300 Subject: Fix ActionController::TestCase::Behavior.head --- actionpack/test/controller/test_case_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 73b860ac18..88c45683a3 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -187,6 +187,11 @@ XML assert_equal "document body", @response.body end + def test_head + head :test_params + assert_equal 200, @response.status + end + def test_process_without_flash process :set_flash assert_equal '><', flash['test'] -- cgit v1.2.3