Fix pipeline predefined variables specs
This commit is contained in:
parent
a499367d6d
commit
a830c49a3f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ describe Ci::Pipeline, :mailer do
|
|||
subject { pipeline.predefined_variables }
|
||||
|
||||
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]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue