summaryrefslogtreecommitdiff
path: root/spec/factories/users_groups.rb
blob: 450a0d88b76c7db260f706eff9a2d0b9a7af6a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# == Schema Information
#
# Table name: group_members
#
#  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
#  notification_level :integer          default(3), not null
#

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