aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/subscriber_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/subscriber_test.rb')
-rw-r--r--actionpack/test/controller/subscriber_test.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/actionpack/test/controller/subscriber_test.rb b/actionpack/test/controller/subscriber_test.rb
index b2888dc4c2..ef1a325799 100644
--- a/actionpack/test/controller/subscriber_test.rb
+++ b/actionpack/test/controller/subscriber_test.rb
@@ -70,6 +70,13 @@ module ActionControllerSubscriberTest
assert_match /Processed\sAnother::SubscribersController#show/, logs[0]
end
+ def test_process_action_formats
+ get :show
+ wait
+ assert_equal 2, logs.size
+ assert_match /text\/html/, logs[0]
+ end
+
def test_process_action_without_parameters
get :show
wait
@@ -116,7 +123,7 @@ module ActionControllerSubscriberTest
wait
assert_equal 3, logs.size
- assert_equal "Redirected to http://foo.bar/ with status 302", logs[0]
+ assert_equal "Redirected to http://foo.bar/", logs[0]
end
def test_send_data