Browse Source

Tests: Do not test privates.

Piotrek Koszuliński 10 years ago
parent
commit
f44a5b4431
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/ckeditor5-ui/tests/model.js

+ 2 - 2
packages/ckeditor5-ui/tests/model.js

@@ -167,13 +167,13 @@ describe( 'Model', () => {
 			car.set( 'seats', undefined );
 
 			sinon.assert.calledOnce( spy );
-			expect( car._attributes ).to.contain.keys( 'seats' );
+			expect( car ).to.contain.keys( 'seats' );
 			expect( car.seats ).to.be.undefined;
 
 			car.set( 'seats', 5 );
 
 			sinon.assert.calledTwice( spy );
-			expect( car._attributes ).to.have.property( 'seats', 5 );
+			expect( car ).to.have.property( 'seats', 5 );
 		} );
 	} );