Permalink
Browse files

capture was commented out

  • Loading branch information...
1 parent 258fe7d commit e6156cbf7098afec2b91d2fab187c1bc8cbbc777 @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 e6156cb

Please sign in to comment.