Skip to content

Commit

Permalink
Valkyrizes spec/hyrax/transactions/steps/ensure_admin_set_spec.rb.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 authored and jeremyf committed Jan 22, 2024
1 parent 7a4f709 commit a013e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/hyrax/transactions/steps/ensure_admin_set_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
end

context 'with an admin set' do
let(:admin_set) { create(:admin_set) }
let(:work) { build(:generic_work, admin_set_id: admin_set.id) }
let(:admin_set) { valkyrie_create(:hyrax_admin_set) }
let(:work) { build(:hyrax_work, admin_set_id: admin_set.id) }

it 'is a success' do
expect(step.call(work)).to be_success
Expand Down

0 comments on commit a013e82

Please sign in to comment.