spec/tests/camera.tests.js
changeset 0 54063d8b0412
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/spec/tests/camera.tests.js	Tue Jul 06 11:31:19 2010 -0700
@@ -0,0 +1,12 @@
+Tests.prototype.CameraTests = function() {	
+	module('Camera (navigator.camera)');
+	test("should exist", function() {
+  		expect(1);
+  		ok(navigator.camera != null, "navigator.camera should not be null.");
+	});
+	test("should contain a getPicture function", function() {
+		expect(2);
+		ok(typeof navigator.camera.getPicture != 'undefined' && navigator.camera.getPicture != null, "navigator.camera.getPicture should not be null.");
+		ok(typeof navigator.camera.getPicture == 'function', "navigator.camera.getPicture should be a function.");
+	});
+};
\ No newline at end of file