Skip to content

Commit

Permalink
Increase delay time
Browse files Browse the repository at this point in the history
  • Loading branch information
virolea committed Sep 19, 2024
1 parent 9a3e555 commit 98910c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/translations_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TranslationsTest < ActionDispatch::IntegrationTest
test "visiting the page loads up the missing keys" do
assert_difference("Rosetta::TranslationKey.count", 18) do
get root_path(locale: "fr")
sleep 1 # TODO: Find better way to wait for keys to be created
sleep 2 # TODO: Find better way to wait for keys to be created
end
end

Expand All @@ -24,7 +24,7 @@ class TranslationsTest < ActionDispatch::IntegrationTest

# Load up the keys
get root_path(locale: locale.code)
sleep 1 # TODO: Find better way to wait for keys to be created
sleep 2 # TODO: Find better way to wait for keys to be created
key = Rosetta::TranslationKey.find_by(value: "Available locales")

# Create the translation
Expand Down

0 comments on commit 98910c9

Please sign in to comment.