Skip to content

Commit

Permalink
Fixing test in subscription registry
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Aug 8, 2016
1 parent 3932624 commit 14d03c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/utils/subscription-registrySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ describe( 'subscription-registry manages subscriptions', function(){
});

it( 'routes the events', function(){
subscriptionListenerMock.onSubscriptionRemoved.calls.reset();

subscriptionRegistry.subscribe( 'someOtherName', socketWrapperA );
subscriptionRegistry.sendToSubscribers( 'someOtherName', _msg( 'msg6+' ) );
expect( socketWrapperA.socket.lastSendMessage ).toBe( _msg( 'msg6+' ) );
Expand Down

0 comments on commit 14d03c6

Please sign in to comment.