Fix gitlab_ci_yaml_processor specs

This commit is contained in:
Kamil Trzcinski 2015-10-05 16:07:50 +02:00
parent 29a7c6796e
commit 517815f40f
1 changed files with 3 additions and 0 deletions

View File

@ -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",