@@ -249,27 +249,27 @@ describe('assertions', function () {
249
249
250
250
( function ( ) {
251
251
req . should . not . have . param ( 'foo' , 'bar' ) ;
252
- } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e a p r o p e r t y \' f o o \' o f \' b a r \' / ) ;
252
+ } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e p r o p e r t y \' f o o \' o f \' b a r \' / ) ;
253
253
} ) ;
254
254
255
- it ( '#param (deep )' , function ( ) {
255
+ it ( '#param (nested )' , function ( ) {
256
256
var req = { url : '/test?form[name]=jim&form[lastName]=bob' } ;
257
257
req . should . have . param ( 'form' ) ;
258
- req . should . have . deep . param ( 'form.name' ) ;
259
- req . should . have . deep . param ( 'form.name' , 'jim' ) ;
260
- req . should . have . deep . param ( 'form.lastName' ) ;
261
- req . should . have . deep . param ( 'form.lastName' , 'bob' ) ;
258
+ req . should . have . nested . param ( 'form.name' ) ;
259
+ req . should . have . nested . param ( 'form.name' , 'jim' ) ;
260
+ req . should . have . nested . param ( 'form.lastName' ) ;
261
+ req . should . have . nested . param ( 'form.lastName' , 'bob' ) ;
262
262
req . should . not . have . param ( 'bar' ) ;
263
- req . should . not . have . deep . param ( 'form.bar' ) ;
264
- req . should . not . have . deep . param ( 'form.name' , 'sue' ) ;
263
+ req . should . not . have . nested . param ( 'form.bar' ) ;
264
+ req . should . not . have . nested . param ( 'form.name' , 'sue' ) ;
265
265
266
266
( function ( ) {
267
- req . should . not . have . deep . param ( 'form.name' ) ;
268
- } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e d e e p p r o p e r t y \' f o r m .n a m e \' / ) ;
267
+ req . should . not . have . nested . param ( 'form.name' ) ;
268
+ } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e n e s t e d p r o p e r t y \' f o r m .n a m e \' / ) ;
269
269
270
270
( function ( ) {
271
- req . should . not . have . deep . param ( 'form.lastName' , 'bob' ) ;
272
- } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e a d e e p p r o p e r t y \' f o r m .l a s t N a m e \' o f \' b o b \' / ) ;
271
+ req . should . not . have . nested . param ( 'form.lastName' , 'bob' ) ;
272
+ } ) . should . throw ( / e x p e c t e d .* t o n o t h a v e n e s t e d p r o p e r t y \' f o r m .l a s t N a m e \' o f \' b o b \' / ) ;
273
273
} ) ;
274
274
275
275
it ( '#cookie' , function ( ) {
0 commit comments