aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/render_test.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-09-17 10:07:08 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-09-17 10:07:08 -0500
commitde1060f4e02925c12004f2ae4dd3f28cdb6a8e04 (patch)
tree46876f32f7d9bdeaed1af2fa5610881cfca2f661 /actionpack/test/template/render_test.rb
parente08a564e87dd4a61fb0617db3b1f21f1e81a614d (diff)
downloadrails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.tar.gz
rails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.tar.bz2
rails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.zip
Rename .rb template handler to .ruby to avoid conflicts with mustache views classes
Diffstat (limited to 'actionpack/test/template/render_test.rb')
-rw-r--r--actionpack/test/template/render_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb
index 6279abaae5..d113b401da 100644
--- a/actionpack/test/template/render_test.rb
+++ b/actionpack/test/template/render_test.rb
@@ -97,12 +97,12 @@ module RenderTestCases
assert_equal %q;Here are some characters: !@#$%^&*()-="'}{`; + "\n", @view.render(:template => "plain_text_with_characters")
end
- def test_render_rb_template_with_handlers
+ def test_render_ruby_template_with_handlers
assert_equal "Hello from Ruby code", @view.render(:template => "ruby_template")
end
- def test_render_rb_template_inline
- assert_equal '4', @view.render(:inline => "(2**2).to_s", :type => :rb)
+ def test_render_ruby_template_inline
+ assert_equal '4', @view.render(:inline => "(2**2).to_s", :type => :ruby)
end
def test_render_file_with_localization_on_context_level