users_groups.rb 445 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
2
3
4
5
6
7
8
9
10
11
12
# == 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
#

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