summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 16:07:50 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 16:07:50 +0200
commit517815f40f8c88e543279e259d0b983e70c5a49e (patch)
tree21294218064157670df3bef8828c980fa6abd8ae
parent29a7c6796e75d3a36c613622c7c7507646fd93a0 (diff)
downloadgitlab-ce-517815f40f8c88e543279e259d0b983e70c5a49e.tar.gz
Fix gitlab_ci_yaml_processor specs
-rw-r--r--spec/lib/ci/gitlab_ci_yaml_processor_spec.rb3
1 files changed, 3 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 93568904d85..aba957da488 100644
--- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
@@ -17,6 +17,7 @@ module Ci
expect(config_processor.builds_for_stage_and_ref(type, "master").size).to eq(1)
expect(config_processor.builds_for_stage_and_ref(type, "master").first).to eq({
stage: "test",
+ stage_idx: 1,
except: nil,
name: :rspec,
only: nil,
@@ -115,6 +116,7 @@ module Ci
expect(config_processor.builds_for_stage_and_ref("test", "master").first).to eq({
except: nil,
stage: "test",
+ stage_idx: 1,
name: :rspec,
only: nil,
commands: "pwd\nrspec",
@@ -141,6 +143,7 @@ module Ci
expect(config_processor.builds_for_stage_and_ref("test", "master").first).to eq({
except: nil,
stage: "test",
+ stage_idx: 1,
name: :rspec,
only: nil,
commands: "pwd\nrspec",