Permalink
Browse files

Fix precompile asset_host test

  • Loading branch information...
1 parent 8a005ff commit a65010fddb00ceb9356f8ccb797405a86a1d8b9f @guilleiguaran guilleiguaran committed Sep 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/assets_test.rb
@@ -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

0 comments on commit a65010f

Please sign in to comment.