Skip to content
Snippets Groups Projects

Broadcast message stale cache on different Gitlab revisions

All threads resolved!
Compare and Show latest version
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -47,25 +47,25 @@ def expanded_cache_key(_key)
@@ -47,25 +47,25 @@ def expanded_cache_key(_key)
expect(backend).to have_received(:delete).with('_expanded_cache_key_')
expect(backend).to have_received(:delete).with('_expanded_cache_key_')
end
end
it 'raises an error for not being implemented' do
it 'raises an error' do
expect { cache.expire(key) }.to raise_error(NotImplementedError)
expect { cache.expire(key) }.to raise_error(NotImplementedError)
end
end
end
end
describe '#read' do
describe '#read' do
it 'raises an error for not being implemented' do
it 'raises an error' do
expect { cache.read(key) }.to raise_error(NotImplementedError)
expect { cache.read(key) }.to raise_error(NotImplementedError)
end
end
end
end
describe '#write' do
describe '#write' do
it 'raises an error for not being implemented' do
it 'raises an error' do
expect { cache.write(key, true) }.to raise_error(NotImplementedError)
expect { cache.write(key, true) }.to raise_error(NotImplementedError)
end
end
end
end
describe '#fetch' do
describe '#fetch' do
it 'raises an error for not being implemented' do
it 'raises an error' do
expect { cache.fetch(key) }.to raise_error(NotImplementedError)
expect { cache.fetch(key) }.to raise_error(NotImplementedError)
end
end
end
end
Loading