From e822bc884017e8f0b2654b6f27b639d19f10861b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 9 Jan 2011 02:00:36 -0500 Subject: [PATCH] Combined test now testing for Interface export --- test/test-combine.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/test-combine.js b/test/test-combine.js index 2526b28..0c384da 100644 --- a/test/test-combine.js +++ b/test/test-combine.js @@ -68,17 +68,18 @@ while ( i-- ) "exports are not in the global scope" ); - assert.ok( ( sandbox.easejs !== undefined ), "'easejs' namespace is defined within combined file" ); - assert.ok( - ( sandbox.easejs.Class !== undefined ), - "easejs namespace contains class exports" - ); - + [ 'Class', 'Interface' ].forEach( function( item ) + { + assert.ok( + sandbox.easejs[ item ], + "Combined file exports exposes " + item + ); + } ); // the full file has tests included to be run client-side if ( file === 'ease-full.js' )