simple refactoring

This commit is contained in:
Andrey Kumanyaev 2013-01-23 20:43:23 +04:00 committed by Dmitriy Zaporozhets
parent a5ce8696a6
commit eb99feb4a7
4 changed files with 19 additions and 19 deletions

View file

@ -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

View file

@ -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