mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #3001 from guilleiguaran/fix-assets-precompile-host-test
Fix precompile asset_host test
This commit is contained in:
commit
60fd88d2f7
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ module ApplicationTests
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue