Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-26 13:30:28 +0300
committerValery Sizov <vsv2711@gmail.com>2015-11-26 13:30:28 +0300
commit3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (patch)
treeebfdb7135c683f6687a15f4ba6f3323ae619bca0 /features/steps/shared/group.rb
parent38489d8d7d0a352789c23d3bf9cadb169f765d5b (diff)
parent1befbbf57dddc23761558f21017294c950d6d3b7 (diff)
Merge remote-tracking branch 'origin/master' into rails_update_to_4_2
Diffstat (limited to 'features/steps/shared/group.rb')
-rw-r--r--features/steps/shared/group.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/group.rb b/features/steps/shared/group.rb
index 83a04576973..58581653f28 100644
--- a/features/steps/shared/group.rb
+++ b/features/steps/shared/group.rb
@@ -41,4 +41,8 @@ module SharedGroup
project.team << [user, :master]
@project_count += 1
end
+
+ def owned_group
+ @owned_group ||= Group.find_by(name: "Owned")
+ end
end