summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/gitlab_import/importer_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-21 13:48:29 +0000
committerRémy Coutable <remy@rymai.me>2017-06-21 13:48:29 +0000
commit411163226841589ed92c97fcab0503d8b77368eb (patch)
tree3ea258c4da6e0f9c6e0f7523191fdb0a64a15c73 /spec/lib/gitlab/gitlab_import/importer_spec.rb
parent78ee24ba53a4a44d829613495ec0d5f1bbb5a9ee (diff)
parent0430b7644101fc70ed4be6bf69ccf05b900f4cdf (diff)
downloadgitlab-ce-411163226841589ed92c97fcab0503d8b77368eb.tar.gz
Merge branch 'rubocop/gb/enable-dot-position-cop-leading-style' into 'master'
Enable Style/DotPosition Rubocop :cop: See merge request !11965
Diffstat (limited to 'spec/lib/gitlab/gitlab_import/importer_spec.rb')
-rw-r--r--spec/lib/gitlab/gitlab_import/importer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/gitlab_import/importer_spec.rb b/spec/lib/gitlab/gitlab_import/importer_spec.rb
index 9b499b593d3..4f588da0a83 100644
--- a/spec/lib/gitlab/gitlab_import/importer_spec.rb
+++ b/spec/lib/gitlab/gitlab_import/importer_spec.rb
@@ -45,8 +45,8 @@ describe Gitlab::GitlabImport::Importer, lib: true do
def stub_request(path, body)
url = "https://gitlab.com/api/v3/projects/asd%2Fvim/#{path}?page=1&per_page=100"
- WebMock.stub_request(:get, url).
- to_return(
+ WebMock.stub_request(:get, url)
+ .to_return(
headers: { 'Content-Type' => 'application/json' },
body: body
)