mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix failing asset test.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user