[#135] revert build list factory

This commit is contained in:
Alexander Machehin 2013-06-09 18:46:06 +06:00
parent ecf2426eb5
commit 07ff883598
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ FactoryGirl.define do
#association :project #association :project
association :save_to_platform, :factory => :platform_with_repos association :save_to_platform, :factory => :platform_with_repos
project { |bl| project { |bl|
pr = FactoryGirl.create(:project_with_commit, :owner => bl.user) pr = FactoryGirl.create(:project_with_commit)
bl.save_to_platform.repositories.first.projects << pr bl.save_to_platform.repositories.first.projects << pr
pr pr
} }