mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 05:03:37 +08:00
Not sure how this spec actually worked in the past.
This commit is contained in:
parent
381a2a55be
commit
7f1e74a272
|
@ -2,9 +2,13 @@ require 'rails_helper'
|
|||
|
||||
describe Jobs::TopicReminder do
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
let(:topic) { Fabricate(:topic, topic_timers: [
|
||||
Fabricate(:topic_timer, user: admin, status_type: TopicTimer.types[:reminder])
|
||||
]) }
|
||||
|
||||
let(:topic) do
|
||||
Fabricate(:topic_timer,
|
||||
user: admin,
|
||||
status_type: TopicTimer.types[:reminder]
|
||||
).topic
|
||||
end
|
||||
|
||||
before do
|
||||
SiteSetting.queue_jobs = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user