aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/mime_responds_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/mime_responds_test.rb b/actionpack/test/controller/mime_responds_test.rb
index 558fc47695..117f4ea4f0 100644
--- a/actionpack/test/controller/mime_responds_test.rb
+++ b/actionpack/test/controller/mime_responds_test.rb
@@ -443,7 +443,7 @@ class RespondToControllerTest < ActionController::TestCase
@action = args.first[:action] unless args.empty?
@action ||= action_name
- response.body = "#{@action} - #{@template.formats}"
+ response.body = "#{@action} - #{formats}"
end
end