spec/joosy/resources/modules/cacher_spec.coffee in joosy-1.2.0.beta.1 vs spec/joosy/resources/modules/cacher_spec.coffee in joosy-1.2.0.beta.2

- old
+ new

@@ -18,16 +18,16 @@ @fetcher (callback) -> spy(); callback 1 it 'caches', -> @Cacher.cached (instance) => - expect(instance()).toEqual 1 + expect(instance.get()).toEqual 1 expect(localStorage['scalar']).toEqual '[1]' expect(@spy.callCount).toEqual 1 instance.refresh (instance) => - expect(instance()).toEqual 1 + expect(instance.get()).toEqual 1 expect(@spy.callCount).toEqual 2 describe 'Array', -> beforeEach -> \ No newline at end of file