diff options
author | Jarka Košanová <jarka@gitlab.com> | 2019-03-05 12:41:39 +0100 |
---|---|---|
committer | Jarka Košanová <jarka@gitlab.com> | 2019-03-05 12:43:26 +0100 |
commit | 23d26afa2eb2c02e616b5a06c0289a8e56caf389 (patch) | |
tree | 2728e19c7160a1dd053f52a4050e3b863c786feb | |
parent | df0d3f9c6740a0036b73d07a1613f39fd5ce691e (diff) | |
download | gitlab-ce-23d26afa2eb2c02e616b5a06c0289a8e56caf389.tar.gz |
Make sure MR and milestone projects are same
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index 332278ce077..d0b42d103a5 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -520,7 +520,7 @@ describe Ci::Pipeline, :mailer do end let(:assignee) { create(:user) } - let(:milestone) { create(:milestone) } + let(:milestone) { create(:milestone, project: project) } let(:labels) { create_list(:label, 2) } it 'exposes merge request pipeline variables' do |