Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-03 16:13:10 +0300
committerShinya Maeda <shinya@gitlab.com>2017-07-05 12:38:35 +0300
commit3acc91866bec2004f4dae542dae0d66a2921b4da (patch)
tree198858a7e791652573ecf87072040a1e1972923a /spec/models/ci/build_spec.rb
parent621f9307ff261f00c67b04210210a14cd7aac081 (diff)
Fix spec
Diffstat (limited to 'spec/models/ci/build_spec.rb')
-rw-r--r--spec/models/ci/build_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index a4f29ce462f..cb1a4cee467 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1379,6 +1379,7 @@ describe Ci::Build, :models do
end
before do
+ pipeline_schedule.reload
pipeline_schedule.pipelines << pipeline
end