Commit aa5b9b16 authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent a00520b1
...@@ -33,9 +33,8 @@ describe Gitlab::Ci::Config::Entry::Cache do ...@@ -33,9 +33,8 @@ describe Gitlab::Ci::Config::Entry::Cache do
describe '#value' do describe '#value' do
it 'sets key with the default' do it 'sets key with the default' do
value = config.merge(key: Gitlab::Ci::Config::Entry::Key.default) expect(entry.value[:key])
.to eq(Gitlab::Ci::Config::Entry::Key.default)
expect(entry.value).to eq(value)
end end
end end
end 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