diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-16 13:22:06 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-16 13:22:06 +0100 |
commit | 4fe76f4f272571bb88aa54af1d7e6bcad413c6e1 (patch) | |
tree | 06d929fe09a9fbe930f6c403352e177d427f20d4 /railties/test/application | |
parent | dbe28f3cb0c3957b2fb5847b2b205a5359481924 (diff) | |
download | rails-4fe76f4f272571bb88aa54af1d7e6bcad413c6e1.tar.gz rails-4fe76f4f272571bb88aa54af1d7e6bcad413c6e1.tar.bz2 rails-4fe76f4f272571bb88aa54af1d7e6bcad413c6e1.zip |
Wait a full second so we have time for changes to propagate
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/initializers/i18n_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/application/initializers/i18n_test.rb b/railties/test/application/initializers/i18n_test.rb index 8c2c079fb8..305ae7eb0a 100644 --- a/railties/test/application/initializers/i18n_test.rb +++ b/railties/test/application/initializers/i18n_test.rb @@ -120,6 +120,9 @@ en: get "/i18n" assert_equal "1", last_response.body + # Wait a full second so we have time for changes to propagate + sleep(1) + app_file "config/locales/en.yml", <<-YAML en: foo: "2" |