diff --git a/spec/jobs/attach_files_to_work_job_spec.rb b/spec/jobs/attach_files_to_work_job_spec.rb index 38c754b4dc..9a39dfc35d 100644 --- a/spec/jobs/attach_files_to_work_job_spec.rb +++ b/spec/jobs/attach_files_to_work_job_spec.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -RSpec.describe AttachFilesToWorkJob, perform_enqueued: [AttachFilesToWorkJob] do +RSpec.describe AttachFilesToWorkJob, :active_fedora, perform_enqueued: [AttachFilesToWorkJob] do let(:file1) { File.open(fixture_path + '/world.png') } let(:file2) { File.open(fixture_path + '/image.jp2') } let(:uploaded_file1) { build(:uploaded_file, file: file1) }