aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/dispatcher_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-04-14 16:21:06 -0500
committerJoshua Peek <josh@joshpeek.com>2009-04-14 16:21:06 -0500
commitc1b4a5eb564f8fdd71307efeb5ee729cc6f20059 (patch)
tree972bb18da8874a72e815204211093761575a4a62 /actionpack/test/controller/dispatcher_test.rb
parent4a3afe0b4f4193d8f35827c5550727f98c6b63e9 (diff)
downloadrails-c1b4a5eb564f8fdd71307efeb5ee729cc6f20059.tar.gz
rails-c1b4a5eb564f8fdd71307efeb5ee729cc6f20059.tar.bz2
rails-c1b4a5eb564f8fdd71307efeb5ee729cc6f20059.zip
Make dispatcher instances immutable
Diffstat (limited to 'actionpack/test/controller/dispatcher_test.rb')
-rw-r--r--actionpack/test/controller/dispatcher_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/dispatcher_test.rb b/actionpack/test/controller/dispatcher_test.rb
index 031a10975d..721bcf6136 100644
--- a/actionpack/test/controller/dispatcher_test.rb
+++ b/actionpack/test/controller/dispatcher_test.rb
@@ -46,7 +46,7 @@ class DispatcherTest < Test::Unit::TestCase
end
def test_failsafe_response
- Dispatcher.any_instance.expects(:dispatch).raises('b00m')
+ Dispatcher.any_instance.expects(:_call).raises('b00m')
ActionDispatch::Failsafe.any_instance.expects(:log_failsafe_exception)
assert_nothing_raised do