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

users_groups.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 654bb2caee81287156152e2f64962bda3d05f28f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# == Schema Information
#
# Table name: users_groups
#
#  id           :integer          not null, primary key
#  group_access :integer          not null
#  group_id     :integer          not null
#  user_id      :integer          not null
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#

FactoryGirl.define do
  factory :users_group do
    group_access { UsersGroup::OWNER }
    group
    user
  end
end