gitlab-org--gitlab-foss/spec/factories/user_team_user_relationships.rb

24 lines
545 B
Ruby
Raw Normal View History

# == 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