Skip to content

Commit 4d7eff5

Browse files
committed
Fix: positional arguments test will begin failing in future versions of Ruby.
1 parent 17be9cb commit 4d7eff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hyperclient/resource_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Hyperclient
1313
end
1414

1515
it 'initializes its attributes' do
16-
Attributes.expects(:new).with(foo: :bar)
16+
Attributes.expects(:new).with({ foo: :bar })
1717

1818
Resource.new({ foo: :bar }, entry_point)
1919
end

0 commit comments

Comments
 (0)