提交 e68c87bb 编写于 作者: P Piotr Sarnacki 提交者: José Valim

Fix engines test

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 08f4713d
......@@ -62,12 +62,14 @@ def initialize(app)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册