simple refactoring
This commit is contained in:
parent
a5ce8696a6
commit
eb99feb4a7
|
@ -2,8 +2,8 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :user_team_project_relationship do
|
||||
project_id 1
|
||||
user_team_id 1
|
||||
greatest_access 1
|
||||
project
|
||||
user_team
|
||||
greatest_access { UsersProject::MASTER }
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :user_team_user_relationship do
|
||||
user_id 1
|
||||
user_team_id 1
|
||||
user
|
||||
user_team
|
||||
group_admin false
|
||||
permission 1
|
||||
permission { UsersProject::MASTER }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue