Explorar o código

Fixed broken position test.

Piotr Jasiun %!s(int64=10) %!d(string=hai) anos
pai
achega
6a536f4d91
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-engine/tests/document/position.js

+ 1 - 1
packages/ckeditor5-engine/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() {