Add network namespace for browser cache

We want to be able to cache data from multiple networks side-by-side,
without them interfering with each other.
This commit is contained in:
2020-05-28 11:53:19 +02:00
parent 832de3c06f
commit e7c9620bbe
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ module('Unit | Service | browser-cache', function(hooks) {
test('creates kredits data stores', function(assert) {
let cache = this.owner.lookup('service:browser-cache');
assert.equal(cache.contributors._config.name, "kredits:contributors");
assert.equal(cache.contributions._config.name, "kredits:contributions");
assert.equal(cache.contributors._config.name, "kredits:rinkeby:contributors");
assert.equal(cache.contributions._config.name, "kredits:rinkeby:contributions");
});
});