diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-08 16:31:46 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-08 18:23:32 +0200 |
commit | e68c87bb65640146b0b40456f68b3f0b2571619d (patch) | |
tree | a5944bac6f1ff7259a789531059fd2435b9e20a5 /railties/test | |
parent | 08f4713dba1ae013d5b3c9815cb7e33ea5533be5 (diff) | |
download | rails-e68c87bb65640146b0b40456f68b3f0b2571619d.tar.gz rails-e68c87bb65640146b0b40456f68b3f0b2571619d.tar.bz2 rails-e68c87bb65640146b0b40456f68b3f0b2571619d.zip |
Fix engines test
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/engine_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index ee01a4d6de..0ce11b1f79 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -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 |