Ensure that enough time passes for caching spec

This commit is contained in:
Maikel Linke
2020-06-26 14:24:01 +10:00
parent 4b25c2d49a
commit e567348a69

View File

@@ -45,6 +45,9 @@ feature "Darkswarm data caching", js: true, caching: true do
expect(page).to have_content property.presentation
end
# Update rows which should also update the timestamp.
# The timestamp represents seconds, so waiting one second is enough.
sleep 1
taxon.update!(name: "Changed Taxon")
property.update!(presentation: "Changed Property")