Fix pipeline predefined variables specs
This commit is contained in:
parent
a499367d6d
commit
a830c49a3f
|
@ -171,7 +171,7 @@ describe Ci::Pipeline, :mailer do
|
||||||
subject { pipeline.predefined_variables }
|
subject { pipeline.predefined_variables }
|
||||||
|
|
||||||
it 'includes all predefined variables in a valid order' do
|
it 'includes all predefined variables in a valid order' do
|
||||||
keys = subject.map { |variable| variable.fetch(:key) }
|
keys = subject.map { |variable| variable[:key] }
|
||||||
|
|
||||||
expect(keys).to eq %w[CI_PIPELINE_ID CI_CONFIG_PATH CI_PIPELINE_SOURCE]
|
expect(keys).to eq %w[CI_PIPELINE_ID CI_CONFIG_PATH CI_PIPELINE_SOURCE]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue