We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a3f16a + fa53cf6 commit 628ed9cCopy full SHA for 628ed9c
test/test_ruby_http_client.rb
@@ -120,7 +120,7 @@ def test_build_request_get_application_json
120
)
121
client.build_request('get', nil)
122
assert_equal('application/json', client.request['Content-Type'])
123
- assert_equal(nil, client.request.body)
+ assert_nil(client.request.body)
124
end
125
126
def test_build_request_post_empty_body
@@ -134,7 +134,7 @@ def test_build_request_post_empty_body
134
135
client.build_request('post', nil)
136
assert_equal('', client.request['Content-Type'])
137
138
139
140
def test_build_request_post_multipart
0 commit comments