Skip to content

Commit

Permalink
Merge pull request #6434 from samvera/fixes_batch_upload_form_spec
Browse files Browse the repository at this point in the history
Adds :active_fedora tag to batch_upload_form_spec.
  • Loading branch information
dlpierce authored Nov 9, 2023
2 parents ed267be + 7ff47c5 commit f983475
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/forms/hyrax/forms/batch_upload_form_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# frozen_string_literal: true
RSpec.describe Hyrax::Forms::BatchUploadForm do

# This uses app/services/hydra_editor/field_metadata_service.rb, which calls
# #reflect_on_association on the Work class. This is an ActiveFedora-specific
# method that doesn't translate to Valkyrie Work behavior.
RSpec.describe Hyrax::Forms::BatchUploadForm, :active_fedora do
let(:model) { GenericWork.new }
let(:controller) { instance_double(Hyrax::BatchUploadsController) }
let(:form) { described_class.new(model, ability, controller) }
Expand Down

0 comments on commit f983475

Please sign in to comment.