2013-06-19 12:40:33 +00:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: users_groups
|
|
|
|
#
|
2013-08-21 09:34:02 +00:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# group_access :integer not null
|
|
|
|
# group_id :integer not null
|
|
|
|
# user_id :integer not null
|
2014-04-09 12:05:03 +00:00
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
2013-08-21 09:34:02 +00:00
|
|
|
# notification_level :integer default(3), not null
|
2013-06-19 12:40:33 +00:00
|
|
|
#
|
|
|
|
|
2013-06-17 10:07:16 +00:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :users_group do
|
2014-09-14 16:32:51 +00:00
|
|
|
group_access { GroupMember::OWNER }
|
2013-06-17 10:41:35 +00:00
|
|
|
group
|
|
|
|
user
|
2013-06-17 10:07:16 +00:00
|
|
|
end
|
|
|
|
end
|