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