diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-11 16:44:42 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-11 16:46:46 -0700 |
commit | 9a7ab8b05b748932d25d3e05a3d09600afa99f7b (patch) | |
tree | e04a2fee1fa8196dcf3c5d6cdcc202cef3781813 /actionpack | |
parent | 13e784978571b341a2783f95c1a26f4d2d4fd68e (diff) | |
download | rails-9a7ab8b05b748932d25d3e05a3d09600afa99f7b.tar.gz rails-9a7ab8b05b748932d25d3e05a3d09600afa99f7b.tar.bz2 rails-9a7ab8b05b748932d25d3e05a3d09600afa99f7b.zip |
stub the instance method, there is no class method
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/dispatcher_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/dispatcher_test.rb b/actionpack/test/controller/dispatcher_test.rb index 84a1c9aab9..9f90872734 100644 --- a/actionpack/test/controller/dispatcher_test.rb +++ b/actionpack/test/controller/dispatcher_test.rb @@ -41,7 +41,7 @@ class DispatcherTest < Test::Unit::TestCase CGI.expects(:new).raises('some multipart parsing failure') ActionController::Routing::Routes.stubs(:reload) - Dispatcher.stubs(:log_failsafe_exception) + Dispatcher.any_instance.stubs(:log_failsafe_exception) assert_nothing_raised { dispatch } |