changed test value to new default value. popcorn-port
authorhamidouk
Thu, 03 Nov 2011 16:05:52 +0100
branchpopcorn-port
changeset 185 2ccec6201261
parent 184 a4be54204b71
child 186 7a963ec3e09a
changed test value to new default value.
unittests/tests/serializer.js
--- a/unittests/tests/serializer.js	Thu Nov 03 16:04:04 2011 +0100
+++ b/unittests/tests/serializer.js	Thu Nov 03 16:05:52 2011 +0100
@@ -7,8 +7,8 @@
   test("init the serializer with a DataLoader and an url", function() {
       
       equal( this.ser._DataLoader, this.dt, "The dataloader reference is copied to the object." );
-      equal( this.ser._url, "http://google.com", "The url has been copied as well." );
-      equal( this.ser._data, undefined, "The serializer data is not defined." );
+      equal( this.ser._url, "http://google.com", "The url has been copied as well." );      
+      deepEqual( this.ser._data, [], "The serializer data is not defined." );
   });
   
   test("check that the serialize and deserialize abstract functions are defined", function() {