Permalink
Browse files

Wait a full second so we have time for changes to propagate

  • Loading branch information...
1 parent dbe28f3 commit 4fe76f4f272571bb88aa54af1d7e6bcad413c6e1 @josevalim josevalim committed Dec 16, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/test/application/initializers/i18n_test.rb
@@ -120,6 +120,9 @@ class Foo < ActiveRecord::Base
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"

0 comments on commit 4fe76f4

Please sign in to comment.