summaryrefslogtreecommitdiff
path: root/features/steps/shared/group.rb
diff options
context:
space:
mode:
authorGuilherme Garnier <guilherme.garnier@gmail.com>2015-10-03 19:59:54 -0500
committerGuilherme Garnier <guilherme.garnier@gmail.com>2015-10-03 19:59:54 -0500
commit963e6366be870bc78037424a5e9d150f342dcfac (patch)
tree9835d868780996f8e1b7371b47f3e5afa211d483 /features/steps/shared/group.rb
parentaed145a9c68f5130a8e46602c4b6f1b76c8c13bf (diff)
downloadgitlab-ce-963e6366be870bc78037424a5e9d150f342dcfac.tar.gz
Fix rubocop warnings in features
Diffstat (limited to 'features/steps/shared/group.rb')
-rw-r--r--features/steps/shared/group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/group.rb b/features/steps/shared/group.rb
index 2d17fb34ccb..83a04576973 100644
--- a/features/steps/shared/group.rb
+++ b/features/steps/shared/group.rb
@@ -37,7 +37,7 @@ module SharedGroup
group = Group.find_by(name: groupname) || create(:group, name: groupname)
group.add_user(user, role)
project ||= create(:project, namespace: group, path: "project#{@project_count}")
- event ||= create(:closed_issue_event, project: project)
+ create(:closed_issue_event, project: project)
project.team << [user, :master]
@project_count += 1
end