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/commit_statuses.rb | |
parent | 717fdd6d42f119dd1e0f457c40563cc35985fbae (diff) | |
download | gitlab-ce-3577b57f6b03a0d3c3d32daab6dc6ccf5f6e45f7.tar.gz |
Try to use `pipeline` where applicable
Diffstat (limited to 'spec/factories/commit_statuses.rb')
-rw-r--r-- | spec/factories/commit_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/commit_statuses.rb b/spec/factories/commit_statuses.rb index 67301fbd9a9..65afcc5e50d 100644 --- a/spec/factories/commit_statuses.rb +++ b/spec/factories/commit_statuses.rb @@ -8,7 +8,7 @@ FactoryGirl.define do finished_at 'Tue, 26 Jan 2016 08:23:42 +0100' after(:build) do |build, evaluator| - build.project = build.commit.project + build.project = build.pipeline.project end factory :generic_commit_status, class: GenericCommitStatus do |