mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix failing asset test.
This commit is contained in:
parent
6481bc5f49
commit
dbe28f3cb0
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue