Browse Source

feat: update filters in spec

CLDC-3014-schemes-locations-csv-download
natdeanlewissoftwire 1 year ago
parent
commit
70b606a6b8
  1. 2
      app/jobs/scheme_email_csv_job_spec.rb

2
app/jobs/scheme_email_csv_job_spec.rb

@ -11,7 +11,7 @@ describe SchemeEmailCsvJob do
let(:mailer) { instance_double(CsvDownloadMailer) }
let(:scheme_csv_service) { instance_double(Csv::SchemeCsvService) }
let(:search_term) { "meaning" }
let(:filters) { { "user" => "you", "status" => %w[in_progress] } }
let(:filters) { { "owning_organisation" => organisation.id, "status" => %w[active] } }
let(:all_orgs) { false }
let(:organisation) { build(:organisation) }
let(:download_type) { "combined" }

Loading…
Cancel
Save