Permalink
Browse files

Merge pull request #3001 from guilleiguaran/fix-assets-precompile-hos…

…t-test

Fix precompile asset_host test
  • Loading branch information...
1 parent bb93687 commit 874e012b972897b37bde28e114154c4b7387b6d2 @spastorino spastorino 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 874e012

Please sign in to comment.