creating different failures

This commit is contained in:
Eddy Verbruggen 2014-07-16 17:20:26 +02:00
parent 9def9e77f5
commit 95fe5ce19b

View File

@ -1,11 +1,11 @@
cordova.define("nl.x-services.plugins.toast.tests", function(require, exports, module) { exports.defineAutoTests = function() {
var fail = function (done) {
expect(true).toBe(false);
expect(false).toBe(true);
done();
},
succeed = function (done) {
expect(true).toBe(true);
expect(false).toBe(false);
done();
};
@ -37,7 +37,7 @@ cordova.define("nl.x-services.plugins.toast.tests", function(require, exports, m
});
it("should define showLongCenter", function() {
expect(window.plugins.toast.IWillFail).toBeDefined();
expect(window.plugins.toast.showLongCenter).toBeDefined();
});
it("should define showLongBottom", function() {