Skip to content

Commit

Permalink
♻️ Attempt to squash a flaky test
Browse files Browse the repository at this point in the history
Also remove an un-tested element.
  • Loading branch information
jeremyf committed Feb 7, 2024
1 parent f5f26ef commit 4d237ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/features/default_workflow_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
let(:attributes) { :LEGACY_UNUSED_ARGUMENT_WITH_NO_KNOWN_USE_CASE_SHOULD_NEVER_BE_REQUIRED }
let(:workflow_factory) { Hyrax::Workflow::WorkflowFactory }

before { Hyrax::EnsureWellFormedAdminSetService.call }

it 'sets state to "deposited"' do
workflow_factory.create(work, attributes, depositor)

Expand All @@ -34,9 +36,5 @@
.to include(have_attributes(mode: :edit, agent: depositor.user_key))
end
end

context 'with members' do
it 'grants edit to depositor on members in background'
end
end
end

0 comments on commit 4d237ee

Please sign in to comment.