Skip to content

Commit 6e25c4c

Browse files
committed
Resolve "Passing the keyword argument as ..." deprecation warning
1 parent 8e00bea commit 6e25c4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def generate_topic_name
6161
"#{RUN_ID}-topic-#{SecureRandom.uuid}"
6262
end
6363

64-
def create_random_topic(*args)
64+
def create_random_topic(**args)
6565
topic = generate_topic_name
66-
create_topic(topic, *args)
66+
create_topic(topic, **args)
6767
topic
6868
end
6969

spec/transaction_manager_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,10 @@
591591
)
592592
)
593593
allow(group_coordinator).to receive(:txn_offset_commit).and_return(
594-
txn_offset_commit_response(
594+
txn_offset_commit_response({
595595
'hello' => [1],
596596
'world' => [2]
597-
)
597+
})
598598
)
599599
end
600600

0 commit comments

Comments
 (0)