@@ -68,7 +68,7 @@ describe("Model.extendsTo()", function() {
6868
6969 John . removeAddress ( function ( ) {
7070 John . hasAddress ( function ( err , hasAddress ) {
71- err . should . be . a ( "object" ) ;
71+ err . should . be . a . Object ( ) ;
7272 hasAddress . should . equal ( false ) ;
7373
7474 return done ( ) ;
@@ -82,7 +82,7 @@ describe("Model.extendsTo()", function() {
8282 name : "Jane"
8383 } ) ;
8484 Jane . hasAddress ( function ( err , hasAddress ) {
85- err . should . be . a ( "object" ) ;
85+ err . should . be . a . Object ( ) ;
8686 err . should . have . property ( "code" , ORM . ErrorCodes . NOT_DEFINED ) ;
8787
8888 return done ( ) ;
@@ -99,7 +99,7 @@ describe("Model.extendsTo()", function() {
9999
100100 John . getAddress ( function ( err , Address ) {
101101 should . equal ( err , null ) ;
102- Address . should . be . a ( "object" ) ;
102+ Address . should . be . a . Object ( ) ;
103103 Address . should . have . property ( "street" , "Liberty" ) ;
104104
105105 return done ( ) ;
@@ -113,7 +113,7 @@ describe("Model.extendsTo()", function() {
113113
114114 John . removeAddress ( function ( ) {
115115 John . getAddress ( function ( err , Address ) {
116- err . should . be . a ( "object" ) ;
116+ err . should . be . a . Object ( ) ;
117117 err . should . have . property ( "code" , ORM . ErrorCodes . NOT_FOUND ) ;
118118
119119 return done ( ) ;
@@ -127,7 +127,7 @@ describe("Model.extendsTo()", function() {
127127 name : "Jane"
128128 } ) ;
129129 Jane . getAddress ( function ( err , Address ) {
130- err . should . be . a ( "object" ) ;
130+ err . should . be . a . Object ( ) ;
131131 err . should . have . property ( "code" , ORM . ErrorCodes . NOT_DEFINED ) ;
132132
133133 return done ( ) ;
@@ -156,7 +156,7 @@ describe("Model.extendsTo()", function() {
156156
157157 John . getAddress ( function ( err , Address ) {
158158 should . equal ( err , null ) ;
159- Address . should . be . a ( "object" ) ;
159+ Address . should . be . a . Object ( ) ;
160160 Address . should . have . property ( "street" , addr . street ) ;
161161
162162 PersonAddress . find ( { number : 123 } ) . count ( function ( err , c ) {
@@ -207,7 +207,7 @@ describe("Model.extendsTo()", function() {
207207 name : "Jane"
208208 } ) ;
209209 Jane . removeAddress ( function ( err ) {
210- err . should . be . a ( "object" ) ;
210+ err . should . be . a . Object ( ) ;
211211 err . should . have . property ( "code" , ORM . ErrorCodes . NOT_DEFINED ) ;
212212
213213 return done ( ) ;
@@ -242,7 +242,7 @@ describe("Model.extendsTo()", function() {
242242 var ChainFind = Person . findByAddress ( {
243243 number : 123
244244 } ) ;
245- ChainFind . run . should . be . a ( "function" ) ;
245+ ChainFind . run . should . be . a . Function ( ) ;
246246
247247 return done ( ) ;
248248 } ) ;
0 commit comments