summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-13 12:07:03 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-13 12:07:03 +0200
commitbb3fc8c72c2a3af7873cabf9ae3e951376e7ac9e (patch)
treebe300ba7556ee80197935d81fa555f0c75bedbd4
parent3714e1914b6b891274ab7d8b8db8f21dedd29e37 (diff)
downloadgitlab-ce-artifacts-when.tar.gz
Make "four phase test"artifacts-when
-rw-r--r--spec/lib/ci/gitlab_ci_yaml_processor_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
index fe1e8b2262e..304290d6608 100644
--- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
@@ -501,6 +501,7 @@ module Ci
})
config_processor = GitlabCiYamlProcessor.new(config, path)
+
builds = config_processor.builds_for_stage_and_ref("test", "master")
expect(builds.size).to eq(1)
expect(builds.first[:when]).to eq(when_state)