From d4ffb7607d27142dcc4bc442968115808df2f97c Mon Sep 17 00:00:00 2001 From: Steve McNiven-Scott Date: Fri, 13 May 2016 09:55:50 -0400 Subject: [PATCH] Fix travis errors --- apps/tests/camera-tests.ts | 3 ++- apps/tests/camera.md | 3 +++ camera/camera.d.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/tests/camera-tests.ts b/apps/tests/camera-tests.ts index ed7585d92..ca2f74262 100644 --- a/apps/tests/camera-tests.ts +++ b/apps/tests/camera-tests.ts @@ -13,7 +13,8 @@ export var test_takePicture = function () { }; export var test_isCameraAvailable = function () { - // >> camera-take-picture + // >> camera-is-availabile var availability = camera.isAvailable(); + // >> camera-is-availabile TKUnit.assertTrue(availability == true || availability == false, "Availability should return a Boolean"); }; \ No newline at end of file diff --git a/apps/tests/camera.md b/apps/tests/camera.md index 9feea38d3..34f1aa89e 100644 --- a/apps/tests/camera.md +++ b/apps/tests/camera.md @@ -10,3 +10,6 @@ Using a camera requires the camera module. ### Taking a picture. + +### Check for availability + \ No newline at end of file diff --git a/camera/camera.d.ts b/camera/camera.d.ts index 8b55c545c..d9e5562ca 100644 --- a/camera/camera.d.ts +++ b/camera/camera.d.ts @@ -11,7 +11,7 @@ declare module "camera" { */ export function takePicture(options?: CameraOptions): Promise; - /** + /** * Is the camera available to use */ export function isAvailable(): Boolean;