From 18958fc585578fe9882bf2740bf46b6ef609f614 Mon Sep 17 00:00:00 2001 From: Alan Kligman Date: Tue, 18 Feb 2014 21:49:56 -0500 Subject: [PATCH] Updated indexeddb test messages to match websql --- tests/spec/providers/providers.indexeddb.spec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/spec/providers/providers.indexeddb.spec.js b/tests/spec/providers/providers.indexeddb.spec.js index 1f3e83f..6789243 100644 --- a/tests/spec/providers/providers.indexeddb.spec.js +++ b/tests/spec/providers/providers.indexeddb.spec.js @@ -5,6 +5,11 @@ define(["Filer", "util"], function(Filer, util) { return; } + if(navigator.userAgent.indexOf('PhantomJS') > -1) { + console.log("Skipping Filer.FileSystem.providers.IndexedDB tests, since PhantomJS doesn't support it."); + return; + } + describe("Filer.FileSystem.providers.IndexedDB", function() { it("is supported -- if it isn't, none of these tests can run.", function() { expect(Filer.FileSystem.providers.IndexedDB.isSupported()).to.be.true;