Skip to content

Commit

Permalink
Merge pull request #6380 from samvera/fix-flaky-model-trans-spec
Browse files Browse the repository at this point in the history
Fix loading outdated FileSet causing flakiness
  • Loading branch information
bwatson78 authored Oct 24, 2023
2 parents 58ae4cc + a0e07d9 commit ef0d780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/wings/model_transformer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')) }
Expand Down

0 comments on commit ef0d780

Please sign in to comment.