gitlab-org--gitlab-foss/spec/factories/users_groups.rb

21 lines
508 B
Ruby
Raw Normal View History

2013-06-19 08:40:33 -04:00
# == Schema Information
#
# Table name: users_groups
#
2013-08-21 05:34:02 -04:00
# id :integer not null, primary key
# group_access :integer not null
# group_id :integer not null
# user_id :integer not null
# created_at :datetime
# updated_at :datetime
2013-08-21 05:34:02 -04:00
# notification_level :integer default(3), not null
2013-06-19 08:40:33 -04:00
#
FactoryGirl.define do
factory :users_group do
2013-06-17 06:41:35 -04:00
group_access { UsersGroup::OWNER }
group
user
end
end