summaryrefslogtreecommitdiff
path: root/qa/spec/runtime/api/request_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/runtime/api/request_spec.rb')
-rw-r--r--qa/spec/runtime/api/request_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/spec/runtime/api/request_spec.rb b/qa/spec/runtime/api/request_spec.rb
index 93de2f4a87e..a1de71d31f0 100644
--- a/qa/spec/runtime/api/request_spec.rb
+++ b/qa/spec/runtime/api/request_spec.rb
@@ -14,7 +14,7 @@ RSpec.describe QA::Runtime::API::Request do
end
context 'when oauth_access_token is passed in the query string' do
- let(:request) { described_class.new(client, '/users', { oauth_access_token: 'foo' }) }
+ let(:request) { described_class.new(client, '/users', oauth_access_token: 'foo') }
it 'does not adds a private_token query string' do
expect(request.url).to eq 'http://example.com/api/v4/users?oauth_access_token=foo'