Skip to content

Commit

Permalink
Merge pull request #6406 from samvera/helper-spec
Browse files Browse the repository at this point in the history
flag legacy tests in work_form_helper_spec
  • Loading branch information
dlpierce authored Nov 1, 2023
2 parents 35c1ba0 + 3695095 commit 9620f08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/helpers/hyrax/work_form_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
end
end

context 'with a legacy GenericWork form' do
context 'with a legacy GenericWork form', :active_fedora do
let(:work) { stub_model(GenericWork, id: '456') }
let(:ability) { double }
let(:form) { Hyrax::GenericWorkForm.new(work, ability, controller) }
Expand Down Expand Up @@ -51,7 +51,7 @@
end
end

context 'with a legacy GenericWork form' do
context 'with a legacy GenericWork form', :active_fedora do
let(:work) { stub_model(GenericWork, id: '456') }
let(:ability) { double }
let(:form) { Hyrax::GenericWorkForm.new(work, ability, controller) }
Expand Down Expand Up @@ -119,7 +119,7 @@
end
end

context 'with a legacy GenericWork form' do
context 'with a legacy GenericWork form', :active_fedora do
let(:work) { stub_model(GenericWork, id: '456', member_ids: file_set_ids) }
let(:ability) { double }
let(:file_set_ids) { [] }
Expand Down

0 comments on commit 9620f08

Please sign in to comment.