From a65010fddb00ceb9356f8ccb797405a86a1d8b9f Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Tue, 13 Sep 2011 04:35:12 -0500 Subject: [PATCH] Fix precompile asset_host test --- railties/test/application/assets_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 95fcb4a3dd..0901c6df3d 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -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