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

Merge pull request #28530 from kamipo/fix_ci_failure

Fix `assert_logged` failure
This commit is contained in:
Matthew Draper 2017-03-23 09:05:01 +10:30 committed by GitHub
commit 12b6849858

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