spec/tests/map.tests.js
changeset 0 54063d8b0412
equal deleted inserted replaced
-1:000000000000 0:54063d8b0412
       
     1 Tests.prototype.MapTests = function() {	
       
     2 	module('Map (navigator.map)');
       
     3 	test("should exist", function() {
       
     4   		expect(1);
       
     5   		ok(navigator.map != null, "navigator.map should not be null.");
       
     6 	});
       
     7 	test("should contain a show function", function() {
       
     8 		expect(2);
       
     9 		ok(navigator.map.show != null, "navigator.map.show should not be null.");
       
    10 		ok(typeof navigator.map.show == 'function', "navigator.map.show should be a function.");
       
    11 	});
       
    12 };