diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-17 13:07:16 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-18 17:47:52 +0300 |
commit | 81697850eb16d66615fb072e7c288b3b3dc70758 (patch) | |
tree | d19196945603de6d689c5d0d569aed366fbb5fc0 /spec/factories | |
parent | cc5440e82a396fe4967a0b31322d9bb67ee70057 (diff) | |
download | gitlab-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.rb | 9 |
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 |