diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:09:49 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:09:49 +0200 |
commit | 3577b57f6b03a0d3c3d32daab6dc6ccf5f6e45f7 (patch) | |
tree | bb8ead689d855cc783e9eddce848d74934de9c19 /spec/factories/ci | |
parent | 717fdd6d42f119dd1e0f457c40563cc35985fbae (diff) | |
download | gitlab-ce-3577b57f6b03a0d3c3d32daab6dc6ccf5f6e45f7.tar.gz |
Try to use `pipeline` where applicable
Diffstat (limited to 'spec/factories/ci')
-rw-r--r-- | spec/factories/ci/builds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index e2cb08d2a8b..903e331296a 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -43,7 +43,7 @@ FactoryGirl.define do end after(:build) do |build, evaluator| - build.project = build.commit.project + build.project = build.pipeline.project end factory :ci_not_started_build do |