summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-18 13:27:03 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-18 13:27:03 +0100
commitcc11c44ba997eb32dfa48ea225ae4c6942bc8610 (patch)
treef8f4866b50bcd78fb07a1a1601abcbec9f4f81dc /spec
parent26482bddb091a085e2368ff20c3e3e797da74ea3 (diff)
downloadgitlab-ce-cc11c44ba997eb32dfa48ea225ae4c6942bc8610.tar.gz
Align hash literals to keep Rubocop happy
Diffstat (limited to 'spec')
-rw-r--r--spec/finders/contributed_projects_finder_spec.rb4
-rw-r--r--spec/finders/personal_projects_finder_spec.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/finders/contributed_projects_finder_spec.rb b/spec/finders/contributed_projects_finder_spec.rb
index 8c1e46fe9f2..65d7f14c721 100644
--- a/spec/finders/contributed_projects_finder_spec.rb
+++ b/spec/finders/contributed_projects_finder_spec.rb
@@ -15,10 +15,10 @@ describe ContributedProjectsFinder do
public_project.team << [source_user, Gitlab::Access::MASTER]
create(:event, action: Event::PUSHED, project: public_project,
- target: public_project, author: source_user)
+ target: public_project, author: source_user)
create(:event, action: Event::PUSHED, project: private_project,
- target: private_project, author: source_user)
+ target: private_project, author: source_user)
end
describe 'without a current user' do
diff --git a/spec/finders/personal_projects_finder_spec.rb b/spec/finders/personal_projects_finder_spec.rb
index 6bd4e6a3f3a..38817add456 100644
--- a/spec/finders/personal_projects_finder_spec.rb
+++ b/spec/finders/personal_projects_finder_spec.rb
@@ -8,12 +8,12 @@ describe PersonalProjectsFinder do
let!(:public_project) do
create(:project, :public, namespace: source_user.namespace, name: 'A',
- path: 'A')
+ path: 'A')
end
let!(:private_project) do
create(:project, :private, namespace: source_user.namespace, name: 'B',
- path: 'B')
+ path: 'B')
end
before do