Updated Branches: refs/heads/master e58ebce15 -> 6870e9b0a
Fixing error in MediaFile test case module Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/6870e9b0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/6870e9b0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/6870e9b0 Branch: refs/heads/master Commit: 6870e9b0a62a7995144c2af5fcd2e1aabb43d5be Parents: e58ebce Author: macdonst <[email protected]> Authored: Wed Feb 1 20:41:04 2012 -0500 Committer: macdonst <[email protected]> Committed: Wed Feb 1 20:41:04 2012 -0500 ---------------------------------------------------------------------- autotest/tests/capture.tests.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/6870e9b0/autotest/tests/capture.tests.js ---------------------------------------------------------------------- diff --git a/autotest/tests/capture.tests.js b/autotest/tests/capture.tests.js index 746b6f9..594d7d1 100644 --- a/autotest/tests/capture.tests.js +++ b/autotest/tests/capture.tests.js @@ -86,8 +86,8 @@ Tests.prototype.CaptureTests = function() { module('MediaFile'); test("MediaFile constructor should exist", function() { expect(6); - var fileData = new MediaFileData(); - ok(fileData !== null, "MediaFileData object should not be null."); + var fileData = new MediaFile(); + ok(fileData !== null, "MediaFile object should not be null."); ok(typeof fileData.name !== 'undefined', "MediaFile object should have a 'name' property."); ok(typeof fileData.fullPath !== 'undefined', "MediaFile object should have a 'fullPath' property."); ok(typeof fileData.type !== 'undefined', "MediaFile object should have a 'type' property.");
