diff --git a/spec/services/exports/organisation_export_service_spec.rb b/spec/services/exports/organisation_export_service_spec.rb index 0c4e4b0d1..4de0e84a8 100644 --- a/spec/services/exports/organisation_export_service_spec.rb +++ b/spec/services/exports/organisation_export_service_spec.rb @@ -150,7 +150,7 @@ RSpec.describe Exports::OrganisationExportService do context "when this is a second export (partial)" do before do start_time = Time.zone.local(2022, 6, 1) - Export.new(started_at: start_time).save! # this should be organisation export + Export.new(started_at: start_time, collection: "organisations").save! # this should be organisation export end it "does not add any entry for the master manifest (no organisations)" do diff --git a/spec/services/exports/user_export_service_spec.rb b/spec/services/exports/user_export_service_spec.rb index e7bcea08b..713d6f907 100644 --- a/spec/services/exports/user_export_service_spec.rb +++ b/spec/services/exports/user_export_service_spec.rb @@ -150,7 +150,7 @@ RSpec.describe Exports::UserExportService do context "when this is a second export (partial)" do before do start_time = Time.zone.local(2022, 6, 1) - Export.new(started_at: start_time).save! # this should be user export + Export.new(started_at: start_time, collection: "users").save! # this should be user export end it "does not add any entry for the master manifest (no users)" do