Commit 3a963c37 authored by Robert Speicher's avatar Robert Speicher 🌴

Use the correct class for the CsvExport mailer spec

parent 095ac7d3
Pipeline #7997362 passed with stages
in 154 minutes and 36 seconds
......@@ -9,7 +9,7 @@ describe Emails::CsvExport do
let(:user) { create(:user) }
let(:empty_project) { create(:empty_project, path: 'myproject') }
let(:export_status) { { truncated: false, rows_expected: 3, rows_written: 3 } }
subject { described_class.issues_csv_email(user, empty_project, "dummy content", export_status) }
subject { Notify.issues_csv_email(user, empty_project, "dummy content", export_status) }
let(:attachment) { subject.attachments.first }
it 'attachment has csv mime type' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment