Permalink
Browse files

Fix failing asset test.

  • Loading branch information...
1 parent 6481bc5 commit dbe28f3cb0c3957b2fb5847b2b205a5359481924 @josevalim josevalim committed Dec 16, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/test/application/assets_test.rb
@@ -219,7 +219,9 @@ def precompile!
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)

0 comments on commit dbe28f3

Please sign in to comment.