diff --git a/spec/jobs/iiif_manifest_cache_prewarm_job_spec.rb b/spec/jobs/iiif_manifest_cache_prewarm_job_spec.rb index 070d90d12f..6731de2de0 100644 --- a/spec/jobs/iiif_manifest_cache_prewarm_job_spec.rb +++ b/spec/jobs/iiif_manifest_cache_prewarm_job_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true RSpec.describe IiifManifestCachePrewarmJob do - let(:work) { create(:work_with_files) } + let(:work) { valkyrie_create(:monograph, :with_member_file_sets) } let(:cache_key) do Hyrax::CachingIiifManifestBuilder .new