aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-12-20 12:41:49 +0100
committerJosé Valim <jose.valim@gmail.com>2010-12-20 12:43:02 +0100
commit0cbfd6c28d327304432f7d0c067662b5c1e41a78 (patch)
tree2e727aa29cb08dc70902302b7ab74afd17c4b361 /railties/test/application
parente683ab7c390f26e110387822c7ffb5ac6aafebca (diff)
downloadrails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.tar.gz
rails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.tar.bz2
rails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.zip
Small changes on AD::Reloader.
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/console_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/console_test.rb b/railties/test/application/console_test.rb
index 5f84c2b948..793e73556c 100644
--- a/railties/test/application/console_test.rb
+++ b/railties/test/application/console_test.rb
@@ -31,9 +31,9 @@ class ConsoleTest < Test::Unit::TestCase
a = b = c = nil
# TODO: These should be defined on the initializer
- ActionDispatch::Reloader.to_prepare { a = b = c = 1 }
- ActionDispatch::Reloader.to_prepare { b = c = 2 }
- ActionDispatch::Reloader.to_cleanup { c = 3 }
+ ActionDispatch::Reloader.to_cleanup { a = b = c = 1 }
+ ActionDispatch::Reloader.to_cleanup { b = c = 2 }
+ ActionDispatch::Reloader.to_prepare { c = 3 }
# Hide Reloading... output
silence_stream(STDOUT) { reload! }