summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/feedback/feedback_cache.spec.js
blob: f6738114918c7b320bfbd5a2c3e02a0ea72b0938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define(['feedback/feedback_cache'], function (feedbackCache) {
  'use strict';

  describe('feedbackCache', function () {
    it('should cache', function () {
      feedbackCache.resetCache();
      expect(feedbackCache.getCache()).toEqual('');
      feedbackCache.setCache('foo bar');
      expect(feedbackCache.getCache()).toEqual('foo bar');
    });
  });
});