add user team factories
This commit is contained in:
parent
3a0d4865f6
commit
17e9207dff
3 changed files with 28 additions and 0 deletions
10
spec/factories/user_team_user_relationships.rb
Normal file
10
spec/factories/user_team_user_relationships.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user_team_user_relationship do
|
||||
user_id 1
|
||||
user_team_id 1
|
||||
group_admin false
|
||||
permission 1
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue