web_fetch 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- describe WebFetch::Storage do
4
- describe '.store' do
5
- it 'accepts a key and value to store' do
6
- expect do
7
- described_class.store(:key, :value)
8
- end.to_not raise_error
9
- end
10
- end
11
-
12
- describe '.fetch' do
13
- it 'fetches stored values' do
14
- described_class.store(:key, :value)
15
- expect(described_class.fetch(:key)).to eql :value
16
- end
17
- end
18
-
19
- describe '.delete' do
20
- it 'deletes stored values' do
21
- described_class.store(:key, :value)
22
- expect(described_class.fetch(:key)).to eql :value
23
- described_class.delete(:key)
24
- expect(described_class.fetch(:key)).to eql nil
25
- end
26
- end
27
- end