2013-01-31 02:11:35 -05:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: user_team_user_relationships
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# user_id :integer
|
|
|
|
# user_team_id :integer
|
|
|
|
# group_admin :boolean
|
|
|
|
# permission :integer
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
|
|
|
#
|
|
|
|
|
2013-01-19 12:53:03 -05:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
|
|
|
factory :user_team_user_relationship do
|
2013-01-23 11:43:23 -05:00
|
|
|
user
|
|
|
|
user_team
|
2013-01-19 12:53:03 -05:00
|
|
|
group_admin false
|
2013-01-23 11:43:23 -05:00
|
|
|
permission { UsersProject::MASTER }
|
2013-01-19 12:53:03 -05:00
|
|
|
end
|
|
|
|
end
|