summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-17 13:07:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-18 17:47:52 +0300
commit81697850eb16d66615fb072e7c288b3b3dc70758 (patch)
treed19196945603de6d689c5d0d569aed366fbb5fc0 /spec/factories
parentcc5440e82a396fe4967a0b31322d9bb67ee70057 (diff)
downloadgitlab-ce-81697850eb16d66615fb072e7c288b3b3dc70758.tar.gz
create UsersGroup entity. Modify ability to check group owners instead one owner
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/users_groups.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/users_groups.rb b/spec/factories/users_groups.rb
new file mode 100644
index 00000000000..f19f5d1eb95
--- /dev/null
+++ b/spec/factories/users_groups.rb
@@ -0,0 +1,9 @@
+# Read about factories at https://github.com/thoughtbot/factory_girl
+
+FactoryGirl.define do
+ factory :users_group do
+ access_level 1
+ group_id 1
+ user_id 1
+ end
+end