Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failing asset test.

  • Loading branch information...
commit dbe28f3cb0c3957b2fb5847b2b205a5359481924 1 parent 6481bc5
@josevalim josevalim authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/test/application/assets_test.rb
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.