fix broken unit test

This commit is contained in:
Brian Gough 2017-09-15 09:20:53 +01:00
parent 9f9c15f6f5
commit 1bca1e11a9

View file

@ -304,7 +304,7 @@ describe 'DocumentUpdaterHandler', ->
@handler.clearProjectState @project_id, @callback
it 'should clear the project state from the document updater', ->
url = "#{@settings.apis.documentupdater.url}/project/#{@project_id}/clear"
url = "#{@settings.apis.documentupdater.url}/project/#{@project_id}/clearState"
@request.post.calledWith(url).should.equal true
it "should call the callback", ->