mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
capture was commented out
This commit is contained in:
parent
753424079e
commit
9b34e31155
1 changed files with 2 additions and 2 deletions
|
@ -249,9 +249,9 @@ module ApplicationTests
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue