Skip to content

Commit

Permalink
Fix test failing due to still using old notification model
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMacPherson committed Jun 17, 2024
1 parent 9625ee3 commit 8072293
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:vacancy) { create(:vacancy, publisher: publisher, organisations: [organisation]) }

describe "#message" do
subject { Notification.last.to_notification.message }
subject { Noticed::Notification.last.message }

let(:data_expiration_date) { (vacancy.expires_at + 1.year).to_date }
let(:vacancy_applications_link) { "/organisation/jobs/#{vacancy.id}/job_applications" }
Expand All @@ -25,7 +25,7 @@
end

describe "#timestamp" do
subject { Notification.last.to_notification.timestamp }
subject { Noticed::Notification.last.timestamp }

context "when the notification is delivered today" do
before do
Expand Down

0 comments on commit 8072293

Please sign in to comment.