Skip to content

Commit 91c2fff

Browse files
committed
Correctly specify headers as a hash.
1 parent 718d83c commit 91c2fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/async/http/client/google.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323

2424
it 'can fetch remote resource' do
25-
response = client.get('/', 'accept' => '*/*')
25+
response = client.get('/', {'accept' => '*/*'})
2626

2727
response.finish
2828

0 commit comments

Comments
 (0)