Skip to content

Commit

Permalink
disable work_form_spec when AF is disabled
Browse files Browse the repository at this point in the history
the unit under test inherits `HydraEditor::Form`, which is only relevant for
ActiveFedora. don't test it if we're not using AF models.

fixes #6308
  • Loading branch information
tamsin johnson committed Oct 25, 2023
1 parent ef0d780 commit 193fa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/forms/hyrax/forms/work_form_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
RSpec.describe Hyrax::Forms::WorkForm do
RSpec.describe Hyrax::Forms::WorkForm, :active_fedora do
let(:work) { GenericWork.new }
let(:form) { described_class.new(work, nil, controller) }
let(:works) { [GenericWork.new, FileSet.new, GenericWork.new] }
Expand Down

0 comments on commit 193fa1f

Please sign in to comment.