Remove unneeded expectation

This commit is contained in:
Eric Schultz 2019-11-07 15:10:01 -06:00
parent a4b32cf949
commit 2d28f4023c

View file

@ -203,7 +203,6 @@ describe ExportSupporterNotes do
it 'uploads as expected' do
Timecop.freeze(2020, 4, 5) do
@export = create(:export, user: user, created_at: Time.now, updated_at: Time.now)
expect_email_queued.with(JobTypes::ExportSupporterNotesCompletedJob, @export)
Timecop.freeze(2020, 4, 6, 1, 2, 3) do
expect {
ExportSupporterNotes.run_export(nonprofit.id, { root_url: 'https://localhost:8080/' }.to_json, user.id, @export.id)