Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-12-21 23:43:58 +0300
committerJasper Maes <jaspermaes.jm@gmail.com>2018-12-22 16:42:41 +0300
commitdc1eb2c5c35a2cc739740d63b5ff1c947599b954 (patch)
treef9a67f3d10ca42ff4fbffe22b167eff1ae51d67c /spec/requests/rack_attack_global_spec.rb
parenta9d0290912b4790d3440de4650671d94e0f2a727 (diff)
Fix deprecation: Using positional arguments in integration tests
Diffstat (limited to 'spec/requests/rack_attack_global_spec.rb')
-rw-r--r--spec/requests/rack_attack_global_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/rack_attack_global_spec.rb b/spec/requests/rack_attack_global_spec.rb
index c27e27d3648..49021f5d1b7 100644
--- a/spec/requests/rack_attack_global_spec.rb
+++ b/spec/requests/rack_attack_global_spec.rb
@@ -345,7 +345,7 @@ describe 'Rack Attack global throttles' do
end
def api_get_args_with_token_headers(partial_url, token_headers)
- ["/api/#{API::API.version}#{partial_url}", nil, token_headers]
+ ["/api/#{API::API.version}#{partial_url}", params: nil, headers: token_headers]
end
def rss_url(user)