aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/digestor_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template/digestor_test.rb')
-rw-r--r--actionpack/test/template/digestor_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/template/digestor_test.rb b/actionpack/test/template/digestor_test.rb
index f493c8201d..02b1fd87a8 100644
--- a/actionpack/test/template/digestor_test.rb
+++ b/actionpack/test/template/digestor_test.rb
@@ -46,6 +46,12 @@ class TemplateDigestorTest < ActionView::TestCase
end
end
+ def test_explicit_dependency_in_multiline_erb_tag
+ assert_digest_difference("messages/show") do
+ change_template("messages/_form")
+ end
+ end
+
def test_second_level_dependency
assert_digest_difference("messages/show") do
change_template("comments/_comments")