1
0
Fork 0
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:
Santiago Pastorino 2011-09-13 02:41:27 -07:00
commit 60fd88d2f7

View file

@ -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