summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-08-06 04:03:01 +0200
committerGabriel Mazetto <gabriel@gitlab.com>2016-08-06 04:03:01 +0200
commitc9aa19881cf719baaea1bbb9bb00f84145a99b8b (patch)
tree59a90d5ae7fd50a27bb3a389c721b3bc228b9cc1 /spec/requests
parentaa49c20e81210d8b397287eb1ec10a29bcd2f132 (diff)
downloadgitlab-ce-c9aa19881cf719baaea1bbb9bb00f84145a99b8b.tar.gz
Enable Style/SpaceAroundEqualsInParameterDefault coprubocop/SpaceAroundEqualsInParameterDefault
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/git_http_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb
index 82ab582beac..022781d8696 100644
--- a/spec/requests/git_http_spec.rb
+++ b/spec/requests/git_http_spec.rb
@@ -349,19 +349,19 @@ describe 'Git HTTP requests', lib: true do
end
end
- def clone_get(project, options={})
+ def clone_get(project, options = {})
get "/#{project}/info/refs", { service: 'git-upload-pack' }, auth_env(*options.values_at(:user, :password, :spnego_request_token))
end
- def clone_post(project, options={})
+ def clone_post(project, options = {})
post "/#{project}/git-upload-pack", {}, auth_env(*options.values_at(:user, :password, :spnego_request_token))
end
- def push_get(project, options={})
+ def push_get(project, options = {})
get "/#{project}/info/refs", { service: 'git-receive-pack' }, auth_env(*options.values_at(:user, :password, :spnego_request_token))
end
- def push_post(project, options={})
+ def push_post(project, options = {})
post "/#{project}/git-receive-pack", {}, auth_env(*options.values_at(:user, :password, :spnego_request_token))
end