You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/02/02 02:41:27 UTC
git commit: Fixing error in MediaFile test case module
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 <si...@gmail.com>
Authored: Wed Feb 1 20:41:04 2012 -0500
Committer: macdonst <si...@gmail.com>
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.");