summaryrefslogtreecommitdiff
path: root/spec/models/members
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-21 17:33:53 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:31:56 -0600
commitc10064aad5d0e4ca1981fd898a6688e42ea8c9d0 (patch)
tree9c61c03ce7ff16a49cc3b328fc308cd41c65bd94 /spec/models/members
parentb7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (diff)
downloadgitlab-ce-c10064aad5d0e4ca1981fd898a6688e42ea8c9d0.tar.gz
Enable Style/SpaceInsideBrackets
Diffstat (limited to 'spec/models/members')
-rw-r--r--spec/models/members/project_member_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/members/project_member_spec.rb b/spec/models/members/project_member_spec.rb
index e4be0aba7a6..87ea2e70680 100644
--- a/spec/models/members/project_member_spec.rb
+++ b/spec/models/members/project_member_spec.rb
@@ -89,8 +89,8 @@ describe ProjectMember, models: true do
@user_1 = create :user
@user_2 = create :user
- @project_1.team << [ @user_1, :developer ]
- @project_2.team << [ @user_2, :reporter ]
+ @project_1.team << [@user_1, :developer]
+ @project_2.team << [@user_2, :reporter]
@status = @project_2.team.import(@project_1)
end
@@ -137,8 +137,8 @@ describe ProjectMember, models: true do
@user_1 = create :user
@user_2 = create :user
- @project_1.team << [ @user_1, :developer]
- @project_2.team << [ @user_2, :reporter]
+ @project_1.team << [@user_1, :developer]
+ @project_2.team << [@user_2, :reporter]
ProjectMember.truncate_teams([@project_1.id, @project_2.id])
end