spec/unit/lib/cache_spec.rb in howitzer-2.0.2 vs spec/unit/lib/cache_spec.rb in howitzer-2.0.3
- old
+ new
@@ -68,10 +68,10 @@
context 'when default argument' do
before { described_class.clear_all_ns }
it { expect(described_class.data).to eq(cloud: { status: false }, foo: {}, bar: {}, baz: {}) }
end
context 'when custom argument' do
- let(:exception_list) { %i(foo bar) }
+ let(:exception_list) { %i[foo bar] }
before { described_class.clear_all_ns(exception_list) }
it do
expect(described_class.data).to eq(
cloud: {},
foo: { 'foo' => 'some value1' },