Commit 56c8288d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix pipeline predefined variables specs

parent b27f05a5
......@@ -175,7 +175,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment