Browse files

Fix engines test

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 08f4713 commit e68c87bb65640146b0b40456f68b3f0b2571619d @drogus drogus committed with josevalim Oct 8, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/test/railties/engine_test.rb
View
4 railties/test/railties/engine_test.rb
@@ -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

0 comments on commit e68c87b

Please sign in to comment.