user_team_user_relationships.rb 229 Bytes
Newer Older
Andrey Kumanyaev's avatar
Andrey Kumanyaev committed
1 2 3 4
# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :user_team_user_relationship do
Andrey Kumanyaev's avatar
Andrey Kumanyaev committed
5 6
    user
    user_team
Andrey Kumanyaev's avatar
Andrey Kumanyaev committed
7
    group_admin false
Andrey Kumanyaev's avatar
Andrey Kumanyaev committed
8
    permission { UsersProject::MASTER }
Andrey Kumanyaev's avatar
Andrey Kumanyaev committed
9 10
  end
end