Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Jun 6, 2024
1 parent 40aabd7 commit da298b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/controllers/hyrax/file_sets_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@
let(:user) { FactoryBot.create(:user) }
before { sign_in user }
let(:file) { fixture_file_upload('/world.png', 'image/png') }
let(:work) { FactoryBot.valkyrie_create(:hyrax_work, title: "test title", admin_set_id: admin_set.id, uploaded_files: [FactoryBot.create(:uploaded_file, user: work_user)], edit_users: [work_user]) }
let(:work) do
FactoryBot.valkyrie_create(:hyrax_work, title: "test title", admin_set_id: admin_set.id, uploaded_files: [FactoryBot.create(:uploaded_file, user: work_user)], edit_users: [work_user])
end
let(:file_set) { query_service.find_members(resource: work).first }
let(:file_metadata) { query_service.custom_queries.find_files(file_set: file_set).first }
let(:uploaded) { storage_adapter.find_by(id: file_metadata.file_identifier) }
Expand Down

0 comments on commit da298b9

Please sign in to comment.