Update markAsReadByKeyOnly url.

This commit is contained in:
Shane Kilkelly
2016-08-12 09:59:25 +01:00
parent a9042ff324
commit a7bc8bffe0
2 changed files with 7 additions and 7 deletions
@@ -77,7 +77,7 @@ describe 'NotificationsHandler', ->
it 'should send a delete request when a delete has been received to mark a notification', (done)->
@handler.markAsReadByKeyOnly @key, =>
opts =
uri: "#{notificationUrl}/notification/key/#{@key}"
uri: "#{notificationUrl}/key/#{@key}"
timeout:1000
method: "DELETE"
@request.calledWith(opts).should.equal true