summaryrefslogtreecommitdiff
path: root/spec/factories.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-19 00:23:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2015-03-31 18:32:24 +0200
commit9769c2d7fd0728caf951858162ec7df6f93a8a83 (patch)
treeb7b5d800c0a5c6fe5382788d2cee92aff298fe95 /spec/factories.rb
parent0191857fac465fbfb4acad1b923c29f3b05529aa (diff)
downloadgitlab-ce-9769c2d7fd0728caf951858162ec7df6f93a8a83.tar.gz
Fix #6417: users with group permission should be able to create groups via API
Diffstat (limited to 'spec/factories.rb')
-rw-r--r--spec/factories.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index fc103e5b133..d2b0eeea083 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -22,6 +22,7 @@ FactoryGirl.define do
password "12345678"
confirmed_at { Time.now }
confirmation_token { nil }
+ can_create_group true
trait :admin do
admin true