users_groups.rb 508 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
2
3
4
# == Schema Information
#
# Table name: users_groups
#
Dmitriy Zaporozhets's avatar
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's avatar
Dmitriy Zaporozhets committed
9
10
#  created_at         :datetime
#  updated_at         :datetime
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
#  notification_level :integer          default(3), not null
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
13
#

14
15
FactoryGirl.define do
  factory :users_group do
16
17
18
    group_access { UsersGroup::OWNER }
    group
    user
19
20
  end
end