mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
fix broken unit test
This commit is contained in:
+1
-1
@@ -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", ->
|
||||
|
||||
Reference in New Issue
Block a user