DEV: Rename `Jobs::DiscourseAutomationTracker` -> `Jobs::DiscourseAutomation::Tracker` (#289)

The class is renamed in https://github.com/discourse/discourse/pull/26860.
This commit is contained in:
Osama Sayegh 2024-05-06 23:12:48 +03:00 committed by GitHub
parent 9103fee7ab
commit 7f7d930559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ describe "RecurringDataExplorerResultPm" do
context "when using recurring trigger" do context "when using recurring trigger" do
it "sends the pm at recurring date_date" do it "sends the pm at recurring date_date" do
freeze_time 1.day.from_now do freeze_time 1.day.from_now do
expect { Jobs::DiscourseAutomationTracker.new.execute }.to change { Topic.count }.by(3) expect { Jobs::DiscourseAutomation::Tracker.new.execute }.to change { Topic.count }.by(3)
title = "Scheduled Report for #{query.name}" title = "Scheduled Report for #{query.name}"
expect(Topic.last(3).pluck(:title)).to eq([title, title, title]) expect(Topic.last(3).pluck(:title)).to eq([title, title, title])