[#135] revert build list factory
This commit is contained in:
parent
ecf2426eb5
commit
07ff883598
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue