aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/middleware
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-16 09:45:14 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-16 10:45:59 +0100
commit7dd1c751f90858cbdfaebeafed5fdf1ef400ae8b (patch)
tree2b1ce586925782ed1a8154737c325825b5b52d85 /railties/test/application/middleware
parent02127e64061fc61868f085102277ac5b679e0f75 (diff)
downloadrails-7dd1c751f90858cbdfaebeafed5fdf1ef400ae8b.tar.gz
rails-7dd1c751f90858cbdfaebeafed5fdf1ef400ae8b.tar.bz2
rails-7dd1c751f90858cbdfaebeafed5fdf1ef400ae8b.zip
Improve the specs on exceptions app.
Diffstat (limited to 'railties/test/application/middleware')
-rw-r--r--railties/test/application/middleware/exceptions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/middleware/exceptions_test.rb b/railties/test/application/middleware/exceptions_test.rb
index 912903adb7..6819e3e2e2 100644
--- a/railties/test/application/middleware/exceptions_test.rb
+++ b/railties/test/application/middleware/exceptions_test.rb
@@ -48,7 +48,7 @@ module ApplicationTests
test "uses custom exceptions app" do
add_to_config <<-RUBY
config.exceptions_app = lambda do |env|
- ["404", { "Content-Type" => "text/plain" }, ["YOU FAILED BRO"]]
+ [404, { "Content-Type" => "text/plain" }, ["YOU FAILED BRO"]]
end
RUBY