Permalink
Browse files

capture was commented out

  • Loading branch information...
1 parent 7534240 commit 9b34e311556fd51f01fda9e5f237969c200125a2 @spastorino spastorino committed Oct 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/assets_test.rb
@@ -249,9 +249,9 @@ class ::PostsController < ActionController::Base ; end
# digest is default in false, we must enable it for test environment
add_to_config "config.assets.digest = true"
- # capture(:stdout) do
+ capture(:stdout) do
Dir.chdir(app_path){ `bundle exec rake assets:precompile RAILS_ENV=test` }
- # end
+ end
file = Dir["#{app_path}/public/assets/application-*.css"].first
assert_match(/\/assets\/rails-([0-z]+)\.png/, File.read(file))
end

0 comments on commit 9b34e31

Please sign in to comment.