2013-01-31 08:11:35 +01: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 18:53:03 +01:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
|
|
|
factory :user_team_user_relationship do
|
2013-01-23 17:43:23 +01:00
|
|
|
user
|
|
|
|
user_team
|
2013-01-19 18:53:03 +01:00
|
|
|
group_admin false
|
2013-01-23 17:43:23 +01:00
|
|
|
permission { UsersProject::MASTER }
|
2013-01-19 18:53:03 +01:00
|
|
|
end
|
|
|
|
end
|