aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-10-02 13:52:29 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2011-10-02 13:52:29 -0200
commit9b34e311556fd51f01fda9e5f237969c200125a2 (patch)
tree8a927c634f5485359a6b5741584a9a4e31eb760f /railties/test/application
parent753424079e497d8ab7bc611093a34194200e3c7c (diff)
downloadrails-9b34e311556fd51f01fda9e5f237969c200125a2.tar.gz
rails-9b34e311556fd51f01fda9e5f237969c200125a2.tar.bz2
rails-9b34e311556fd51f01fda9e5f237969c200125a2.zip
capture was commented out
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/assets_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb
index 7bace25fef..01fe8eeafd 100644
--- a/railties/test/application/assets_test.rb
+++ b/railties/test/application/assets_test.rb
@@ -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