aboutsummaryrefslogtreecommitdiff
path: root/contexts/data/tests/mock-storage.js
diff options
context:
space:
mode:
Diffstat (limited to 'contexts/data/tests/mock-storage.js')
-rw-r--r--contexts/data/tests/mock-storage.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/contexts/data/tests/mock-storage.js b/contexts/data/tests/mock-storage.js
deleted file mode 100644
index 71c667f..0000000
--- a/contexts/data/tests/mock-storage.js
+++ /dev/null
@@ -1,20 +0,0 @@
-
-var MockStorage = function() {
- this.store = {};
-};
-
-_.extend(MockStorage.prototype, {
-
- getItem: function(key) {
- return this.store[key];
- },
-
- setItem: function(key,value) {
- this.store[key] = value;
- },
-
- removeItem: function(key,value) {
- delete this.store[key];
- },
-
-});