1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix engines test

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Piotr Sarnacki 2010-10-08 16:31:46 +02:00 committed by José Valim
parent 08f4713dba
commit e68c87bb65

View file

@ -62,12 +62,14 @@ module RailtiesTest
def call(env)
response = @app.call(env)
response[2].upcase!
response[2].each { |b| b.upcase! }
response
end
end
test "engine is a rack app and can have his own middleware stack" do
add_to_config("config.action_dispatch.show_exceptions = false")
@plugin.write "lib/bukkits.rb", <<-RUBY
class Bukkits
class Engine < ::Rails::Engine