aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/custom_handler_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/custom_handler_test.rb b/actionpack/test/controller/custom_handler_test.rb
index 38e675ffed..8b9cdb0c26 100644
--- a/actionpack/test/controller/custom_handler_test.rb
+++ b/actionpack/test/controller/custom_handler_test.rb
@@ -19,15 +19,15 @@ class CustomHandlerTest < Test::Unit::TestCase
end
def test_custom_render
- result = @view.render_template( "foo", "hello <%= one %>", nil, "one" => "two" )
+ result = @view.render_template( "foo", "hello <%= one %>", nil, :one => "two" )
assert_equal(
- [ "hello <%= one %>", { "one" => "two" }, @view ],
+ [ "hello <%= one %>", { :one => "two" }, @view ],
result )
end
def test_unhandled_extension
# uses the ERb handler by default if the extension isn't recognized
- result = @view.render_template( "bar", "hello <%= one %>", nil, "one" => "two" )
+ result = @view.render_template( "bar", "hello <%= one %>", nil, :one => "two" )
assert_equal "hello two", result
end
end