aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/actionpack/controller/view_paths_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/actionpack/controller/view_paths_test.rb')
-rw-r--r--actionview/test/actionpack/controller/view_paths_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionview/test/actionpack/controller/view_paths_test.rb b/actionview/test/actionpack/controller/view_paths_test.rb
index cdfaab5979..0ce515bba5 100644
--- a/actionview/test/actionpack/controller/view_paths_test.rb
+++ b/actionview/test/actionpack/controller/view_paths_test.rb
@@ -7,7 +7,7 @@ class ViewLoadPathsTest < ActionController::TestCase
before_action :add_view_path, only: :hello_world_at_request_time
def hello_world() end
- def hello_world_at_request_time() render(:action => "hello_world") end
+ def hello_world_at_request_time() render(action: "hello_world") end
private
def add_view_path
@@ -18,7 +18,7 @@ class ViewLoadPathsTest < ActionController::TestCase
module Test
class SubController < ActionController::Base
layout "test/sub"
- def hello_world; render(:template => "test/hello_world"); end
+ def hello_world; render(template: "test/hello_world"); end
end
end
@@ -132,8 +132,8 @@ class ViewLoadPathsTest < ActionController::TestCase
template.identifier,
template.handler,
{
- :virtual_path => template.virtual_path,
- :format => template.formats
+ virtual_path: template.virtual_path,
+ format: template.formats
}
)
end