Преглед на файлове

Fixed broken position test.

Piotr Jasiun преди 10 години
родител
ревизия
21639c412d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-utils/tests/document/position.js

+ 1 - 1
packages/ckeditor5-utils/tests/document/position.js

@@ -75,7 +75,7 @@ describe( 'position', function() {
 		var position = new Position( [ 0 ], doc );
 
 		expect( position ).to.have.property( 'path' ).that.deep.equals( [ 0 ] );
-		expect( position ).to.have.property( 'document' ).that.equals( doc );
+		expect( position ).to.have.property( 'doc' ).that.equals( doc );
 	} );
 
 	it( 'should make positions form node and offset', function() {