Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

capture was commented out

  • Loading branch information...
commit e6156cbf7098afec2b91d2fab187c1bc8cbbc777 1 parent 258fe7d
@spastorino spastorino authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/assets_test.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.