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.
get
1 parent 6402eb6 commit 729f605Copy full SHA for 729f605
spec/requests/api_spec.rb
@@ -18,7 +18,7 @@ def headers_with_token(token)
18
stub_request(:get, "https://account.radiusnetworks.com/auth/radius/user.json?oauth_token=123")
19
.to_return(status: 200, body: json)
20
21
- get api_index_path, nil, headers_with_token("123")
+ get api_index_path, params: {}, headers: headers_with_token("123")
22
23
expect(response.status).to be 200
24
end
0 commit comments