Skip to content

Commit

Permalink
Merge pull request #6451 from samvera/abel-fix_content_delete_event_j…
Browse files Browse the repository at this point in the history
…ob_spec.rb

Fix content_delete_event_job_spec.rb
  • Loading branch information
dlpierce committed Nov 17, 2023
2 parents e2bdd9a + 2c4561a commit 11c543b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/jobs/content_delete_event_job_spec.rb
Expand Up @@ -14,7 +14,7 @@
end

context 'with a FileSet' do
let(:curation_concern) { create(:file_set, title: ['Hamlet'], user: user) }
let(:curation_concern) { valkyrie_create(:hyrax_file_set, title: ['Hamlet'], depositor: user.user_key) }

it "logs the event to the depositor's profile" do
expect do
Expand All @@ -25,7 +25,7 @@
end

context 'with a Work' do
let(:curation_concern) { create(:generic_work, title: ['BethsMac'], user: user) }
let(:curation_concern) { valkyrie_create(:hyrax_work, title: ['BethsMac'], depositor: user.user_key) }

it "logs the event to the depositor's profile" do
expect do
Expand Down

0 comments on commit 11c543b

Please sign in to comment.