Skip to content

Commit

Permalink
Fix failing asset test.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Dec 16, 2011
1 parent 6481bc5 commit dbe28f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion railties/test/application/assets_test.rb
Expand Up @@ -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)
Expand Down

0 comments on commit dbe28f3

Please sign in to comment.