diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/console_app_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/console_app_test.rb b/railties/test/console_app_test.rb index d2512a4987..7d697d4d05 100644 --- a/railties/test/console_app_test.rb +++ b/railties/test/console_app_test.rb @@ -22,9 +22,9 @@ if Test::Unit.respond_to?(:run=) def test_reload_should_fire_preparation_callbacks a = b = c = nil - Dispatcher.to_prepare { a = b = c = 1 } - Dispatcher.to_prepare { b = c = 2 } - Dispatcher.to_prepare { c = 3 } + ActionDispatch::Callbacks.to_prepare { a = b = c = 1 } + ActionDispatch::Callbacks.to_prepare { b = c = 2 } + ActionDispatch::Callbacks.to_prepare { c = 3 } ActionController::Routing::Routes.expects(:reload) reload! |