Skip to content

Commit

Permalink
Merge pull request #6470 from samvera/abel-fix_content_new_version_ev…
Browse files Browse the repository at this point in the history
…ent_job_spec

Valkyrization: Fix failing tests in content_new_version_event_job_spec.rb
  • Loading branch information
dlpierce authored Nov 27, 2023
2 parents 4daf8b9 + 1a4c323 commit 00f02db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/jobs/content_new_version_event_job_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# frozen_string_literal: true
RSpec.describe ContentNewVersionEventJob do
let(:user) { create(:user) }
let(:file_set) { create(:file_set, title: ['Hamlet'], user: user) }
let(:generic_work) { create(:generic_work, title: ['BethsMac'], user: user) }
let(:file_set) { valkyrie_create(:hyrax_file_set, title: ['Hamlet'], depositor: user.user_key) }
let(:mock_time) { Time.zone.at(1) }
let(:event) { { action: "User <a href=\"/users/#{user.to_param}\">#{user.user_key}</a> has added a new version of <a href=\"/concern/file_sets/#{file_set.id}\">Hamlet</a>", timestamp: '1' } }

Expand Down

0 comments on commit 00f02db

Please sign in to comment.