فهرست منبع

[misc] fix chai assertions .equal.false -> .equals(false)

Jakob Ackermann 5 سال پیش
والد
کامیت
1184f8f5b6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      services/document-updater/test/acceptance/js/DeletingADocumentTests.js

+ 2 - 2
services/document-updater/test/acceptance/js/DeletingADocumentTests.js

@@ -103,7 +103,7 @@ describe('Deleting a document', function () {
     })
 
     it('should need to reload the doc if read again', function (done) {
-      MockWebApi.getDocument.called.should.equal.false
+      MockWebApi.getDocument.called.should.equals(false)
       return DocUpdaterClient.getDoc(
         this.project_id,
         this.doc_id,
@@ -164,7 +164,7 @@ describe('Deleting a document', function () {
     })
 
     it('should need to reload the doc if read again', function (done) {
-      MockWebApi.getDocument.called.should.equal.false
+      MockWebApi.getDocument.called.should.equals(false)
       return DocUpdaterClient.getDoc(
         this.project_id,
         this.doc_id,