aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/helper_test.rb')
-rw-r--r--actionpack/test/controller/helper_test.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/test/controller/helper_test.rb b/actionpack/test/controller/helper_test.rb
index a8d8d5d798..d18e19f961 100644
--- a/actionpack/test/controller/helper_test.rb
+++ b/actionpack/test/controller/helper_test.rb
@@ -5,13 +5,13 @@ ActionController::Base.helpers_path = File.expand_path("../../fixtures/helpers",
module Fun
class GamesController < ActionController::Base
def render_hello_world
- render :inline => "hello: <%= stratego %>"
+ render inline: "hello: <%= stratego %>"
end
end
class PdfController < ActionController::Base
def test
- render :inline => "test: <%= foobar %>"
+ render inline: "test: <%= foobar %>"
end
end
end
@@ -35,11 +35,11 @@ class JustMeController < ActionController::Base
clear_helpers
def flash
- render :inline => "<h1><%= notice %></h1>"
+ render inline: "<h1><%= notice %></h1>"
end
def lib
- render :inline => "<%= useful_function %>"
+ render inline: "<%= useful_function %>"
end
end
@@ -56,7 +56,7 @@ class HelpersPathsController < ActionController::Base
helper :all
def index
- render :inline => "<%= conflicting_helper %>"
+ render inline: "<%= conflicting_helper %>"
end
end
@@ -251,7 +251,7 @@ end
class IsolatedHelpersTest < ActionController::TestCase
class A < ActionController::Base
def index
- render :inline => "<%= shout %>"
+ render inline: "<%= shout %>"
end
end
@@ -259,7 +259,7 @@ class IsolatedHelpersTest < ActionController::TestCase
helper { def shout; "B" end }
def index
- render :inline => "<%= shout %>"
+ render inline: "<%= shout %>"
end
end
@@ -267,7 +267,7 @@ class IsolatedHelpersTest < ActionController::TestCase
helper { def shout; "C" end }
def index
- render :inline => "<%= shout %>"
+ render inline: "<%= shout %>"
end
end