mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
DEV: Fix another time-sensitive flaky spec
This commit is contained in:
parent
9026c55fe4
commit
104b647ca4
@ -1748,6 +1748,7 @@ describe Topic do
|
||||
let(:topic) { Fabricate(:topic, category: category) }
|
||||
|
||||
it "should be able to override category's default auto close" do
|
||||
freeze_time
|
||||
Jobs.run_immediately!
|
||||
|
||||
expect(topic.topic_timers.first.execute_at).to eq_time(topic.created_at + 4.hours)
|
||||
|
Loading…
Reference in New Issue
Block a user