diff options
Diffstat (limited to 'js/tests/unit/service')
-rw-r--r-- | js/tests/unit/service/PublisherSpec.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/js/tests/unit/service/PublisherSpec.js b/js/tests/unit/service/PublisherSpec.js index 59628356f..f7fa67796 100644 --- a/js/tests/unit/service/PublisherSpec.js +++ b/js/tests/unit/service/PublisherSpec.js @@ -12,17 +12,6 @@ describe('Publisher', function () { beforeEach(module('News')); - it('should subscribe an object and publish a message', inject(function (Publisher) { - var obj = { - receive: jasmine.createSpy('receive') - }; - Publisher.subscribe(obj).toChannel('test'); - - Publisher.publish('tom').onChannel('test'); - expect(obj.receive).toHaveBeenCalledWith('tom'); - })); - - it('should should publish on all possible channels', inject(function (Publisher) { var obj = { |