Skip to content

Commit 5652b95

Browse files
author
Cristian Molina
committed
Fix tests on Ruby3
Keyword args changes on Ruby v3
1 parent 23f9071 commit 5652b95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/error_creator_spec.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ module ExceptionHunter
4444

4545
context 'with repeating tag' do
4646
before do
47-
error_attributes[:tag] = ErrorCreator::HTTP_TAG
48-
described_class.call(error_attributes)
47+
described_class.call(tag: ErrorCreator::HTTP_TAG, **error_attributes)
4948
end
5049

5150
it 'does not repeat tags' do

0 commit comments

Comments
 (0)