From a0e07d923ece5834775f2561c131d08b0c148434 Mon Sep 17 00:00:00 2001 From: Daniel Pierce Date: Mon, 23 Oct 2023 11:59:46 -0400 Subject: [PATCH] Fix loading outdated FileSet causing flakiness Fixed at Samvera Conenct 2023! Co-authored-by: Brad Watson Co-authored-by: tamsin woo Co-authored-by: Adam Ploshay Co-authored-by: Chris Bartos Co-authored-by: Jen Whitney --- spec/wings/model_transformer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/wings/model_transformer_spec.rb b/spec/wings/model_transformer_spec.rb index 85783bf069..a8684072b1 100644 --- a/spec/wings/model_transformer_spec.rb +++ b/spec/wings/model_transformer_spec.rb @@ -177,7 +177,7 @@ class Book < Hyrax::Resource end context 'with files and derivatives in fileset' do - let(:file_set) { Hydra::Works::FileSet.new } + let(:file_set) { FileSet.new } let(:original_file) { File.open(File.join(fixture_path, 'world.png')) } let(:thumbnail_file) { File.open(File.join(fixture_path, 'image.jpg')) } let(:extracted_text_file) { File.open(File.join(fixture_path, 'updated-file.txt')) }