BigW Consortium Gitlab

group_members.rb 511 Bytes
Newer Older
Dmitriy Zaporozhets committed
1 2
# == Schema Information
#
3
# Table name: group_members
Dmitriy Zaporozhets committed
4
#
Dmitriy Zaporozhets committed
5 6 7 8
#  id                 :integer          not null, primary key
#  group_access       :integer          not null
#  group_id           :integer          not null
#  user_id            :integer          not null
Dmitriy Zaporozhets committed
9 10
#  created_at         :datetime
#  updated_at         :datetime
Dmitriy Zaporozhets committed
11
#  notification_level :integer          default(3), not null
Dmitriy Zaporozhets committed
12 13
#

14
FactoryGirl.define do
15 16
  factory :group_member do
    access_level { GroupMember::OWNER }
17 18
    group
    user
19 20
  end
end