aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/rake
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-15 18:48:10 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-15 18:48:10 +0100
commit283a08763495a6b3ce0b196259ee1666f2b08cf1 (patch)
treeefd3899d1a822658a7c5c835d6198ea506a71148 /railties/test/application/rake
parentde947c621d8ee18caca574451c722a6e30c4e6d6 (diff)
downloadrails-283a08763495a6b3ce0b196259ee1666f2b08cf1.tar.gz
rails-283a08763495a6b3ce0b196259ee1666f2b08cf1.tar.bz2
rails-283a08763495a6b3ce0b196259ee1666f2b08cf1.zip
Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema.
Diffstat (limited to 'railties/test/application/rake')
-rw-r--r--railties/test/application/rake/migrations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake/migrations_test.rb b/railties/test/application/rake/migrations_test.rb
index fd8a30557e..7982c42d8f 100644
--- a/railties/test/application/rake/migrations_test.rb
+++ b/railties/test/application/rake/migrations_test.rb
@@ -86,7 +86,7 @@ module ApplicationTests
`rails generate migration add_email_to_users email:string`
end
- Dir.chdir(app_path) { `rake db:migrate`}
+ Dir.chdir(app_path) { `rake db:migrate` }
output = Dir.chdir(app_path) { `rake db:migrate:status` }
assert_match(/up\s+\d{14}\s+Create users/, output)