aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-10-27 16:03:18 +0200
committerYves Senn <yves.senn@gmail.com>2012-10-27 16:03:18 +0200
commit4d7f53379a0dc59f2f33a4b904a06c047580a691 (patch)
treed78918fa143c377a487b1ea9bc207c5e58f44527 /actionpack/test/template
parent67166c4e545952950a4bb724f6c4b9bd869e43bb (diff)
downloadrails-4d7f53379a0dc59f2f33a4b904a06c047580a691.tar.gz
rails-4d7f53379a0dc59f2f33a4b904a06c047580a691.tar.bz2
rails-4d7f53379a0dc59f2f33a4b904a06c047580a691.zip
cleanup, remove trailing whitespace within actionpack
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/digestor_test.rb2
-rw-r--r--actionpack/test/template/render_test.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/digestor_test.rb b/actionpack/test/template/digestor_test.rb
index b9d26da3af..f493c8201d 100644
--- a/actionpack/test/template/digestor_test.rb
+++ b/actionpack/test/template/digestor_test.rb
@@ -63,7 +63,7 @@ class TemplateDigestorTest < ActionView::TestCase
change_template("comments/_comment")
end
end
-
+
def test_directory_depth_dependency
assert_digest_difference("level/below/index") do
change_template("level/below/_header")
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb
index ddf5c6a1b3..4e6a676fc6 100644
--- a/actionpack/test/template/render_test.rb
+++ b/actionpack/test/template/render_test.rb
@@ -451,12 +451,12 @@ module RenderTestCases
assert_equal %(<title>David</title>),
@view.render(:file => "test/layout_render_object")
end
-
+
def test_render_with_passing_couple_extensions_to_one_register_template_handler_function_call
ActionView::Template.register_template_handler :foo1, :foo2, CustomHandler
assert_equal @view.render(:inline => "Hello, World!", :type => :foo1), @view.render(:inline => "Hello, World!", :type => :foo2)
end
-
+
def test_render_throws_exception_when_no_extensions_passed_to_register_template_handler_function_call
assert_raises(ArgumentError) { ActionView::Template.register_template_handler CustomHandler }
end