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:
parent
911f44f720
commit
209e289b4f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue