Fix failing asset test.

This commit is contained in:
José Valim
2011-12-16 11:43:29 +01:00
parent 6481bc5f49
commit dbe28f3cb0

View File

@@ -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)