Make "four phase test"

This commit is contained in:
Kamil Trzcinski 2016-06-13 12:07:03 +02:00
parent 3714e1914b
commit bb3fc8c72c

View file

@ -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)