提交 60fd88d2 编写于 作者: S Santiago Pastorino

Merge pull request #3001 from guilleiguaran/fix-assets-precompile-host-test

Fix precompile asset_host test
......@@ -279,7 +279,7 @@ class ::PostsController < ActionController::Base ; end
file = Dir["#{app_path}/public/assets/application.css"].first
content = File.read(file)
assert_match(/\/assets\/rails-([0-z]+)\.png/, content)
assert_match(/\/assets\/rails.png/, content)
assert_no_match(/www\.example\.com/, content)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册