Skip to content

Commit

Permalink
More splats.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jan 15, 2025
1 parent dffbd29 commit 84983b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/services/preservation_status_reporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@
allow(Valkyrie::StorageAdapter.find(:google_cloud_storage))
.to receive(:find_by)
.with(id: Wayfinder.for(resource).preservation_objects.first.metadata_node.file_identifiers.first)
.and_wrap_original do |original, *args|
values.empty? ? original.call(*args) : values.shift.call
.and_wrap_original do |original, **args|
values.empty? ? original.call(**args) : values.shift.call
end

reporter = described_class.new(suppress_progress: true, io_directory: io_dir)
Expand All @@ -219,8 +219,8 @@
allow(Valkyrie::StorageAdapter.find(:google_cloud_storage))
.to receive(:find_by)
.with(id: Wayfinder.for(resource).preservation_objects.first.binary_nodes.first.file_identifiers.first)
.and_wrap_original do |original, *args|
values.empty? ? original.call(*args) : values.shift.call
.and_wrap_original do |original, **args|
values.empty? ? original.call(**args) : values.shift.call
end

reporter = described_class.new(suppress_progress: true, io_directory: io_dir)
Expand Down

0 comments on commit 84983b4

Please sign in to comment.