aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/default_url_options_with_before_action_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/default_url_options_with_before_action_test.rb')
-rw-r--r--actionpack/test/controller/default_url_options_with_before_action_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/default_url_options_with_before_action_test.rb b/actionpack/test/controller/default_url_options_with_before_action_test.rb
index 230f40d7ad..12fbe0424e 100644
--- a/actionpack/test/controller/default_url_options_with_before_action_test.rb
+++ b/actionpack/test/controller/default_url_options_with_before_action_test.rb
@@ -6,7 +6,7 @@ class ControllerWithBeforeActionAndDefaultUrlOptions < ActionController::Base
after_action { I18n.locale = "en" }
def target
- render :text => "final response"
+ render plain: "final response"
end
def redirect