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:
parent
08f4713dba
commit
e68c87bb65
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue