1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix assert_logged failure

`'#{name}' file doesn't exist, so no dependencies` was removed in
bb04814.
This commit is contained in:
Ryuta Kamizono 2017-03-23 02:58:32 +09:00
parent 911f44f720
commit 209e289b4f

View file

@ -122,13 +122,13 @@ class TemplateDigestorTest < ActionView::TestCase
end
def test_logging_of_missing_template_for_dependencies
assert_logged "'messages/something_missing' file doesn't exist, so no dependencies" do
assert_logged "Couldn't find template for digesting: messages/something_missing" do
dependencies("messages/something_missing")
end
end
def test_logging_of_missing_template_for_nested_dependencies
assert_logged "'messages/something_missing' file doesn't exist, so no dependencies" do
assert_logged "Couldn't find template for digesting: messages/something_missing" do
nested_dependencies("messages/something_missing")
end
end