diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-16 11:43:29 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-16 11:43:29 +0100 |
commit | dbe28f3cb0c3957b2fb5847b2b205a5359481924 (patch) | |
tree | 543f333e6c54a8a31c0f50f56b965b4f8657e07e | |
parent | 6481bc5f49ef26e8fde68ac964dc984d12f33189 (diff) | |
download | rails-dbe28f3cb0c3957b2fb5847b2b205a5359481924.tar.gz rails-dbe28f3cb0c3957b2fb5847b2b205a5359481924.tar.bz2 rails-dbe28f3cb0c3957b2fb5847b2b205a5359481924.zip |
Fix failing asset test.
-rw-r--r-- | railties/test/application/assets_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index a08ea77ff3..cc5695091b 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -219,7 +219,9 @@ module ApplicationTests app_file "app/assets/javascripts/app.js", "alert();" require "#{app_path}/config/environment" - class ::PostsController < ActionController::Base ; end + class ::PostsController < ActionController::Base + def show_detailed_exceptions?() true end + end get '/posts' assert_match(/AssetNotPrecompiledError/, last_response.body) |