From eab59426a7ea1f9284cdb723a0657fde7bf9df90 Mon Sep 17 00:00:00 2001 From: AyakorK Date: Thu, 14 Sep 2023 11:39:00 +0200 Subject: [PATCH] Temporary fix for this test --- spec/system/explore_posts_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/system/explore_posts_spec.rb b/spec/system/explore_posts_spec.rb index 0bdbaab3..983b5707 100644 --- a/spec/system/explore_posts_spec.rb +++ b/spec/system/explore_posts_spec.rb @@ -5,6 +5,7 @@ describe "Explore posts", type: :system do include_context "with a component" let(:manifest_name) { "blogs" } + Time.zone = "UTC" let!(:old_post) { create(:post, component: component, created_at: Time.current - 2.days) } let!(:new_post) { create(:post, component: component, created_at: Time.current) }