Commit eb99feb4 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev Committed by Dmitriy Zaporozhets

simple refactoring

parent a5ce8696
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment