[Search] Worker test correction

Removed unused parameter. Made path to worker
not relative.
This commit is contained in:
slhale 2015-08-05 10:15:21 -07:00
parent d23f4de36a
commit 6a0bd10d5b

View File

@ -19,19 +19,19 @@
* this source code distribution or the Licensing information page available * this source code distribution or the Licensing information page available
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global define,describe,it,expect,runs,waitsFor,beforeEach,jasmine,Worker*/ /*global define,describe,it,expect,runs,waitsFor,beforeEach,jasmine,Worker,require*/
/** /**
* SearchSpec. Created by shale on 07/31/2015. * SearchSpec. Created by shale on 07/31/2015.
*/ */
define( define(
[], [],
function (GenericSearchWorker) { function () {
"use strict"; "use strict";
describe("The generic search worker ", function () { describe("The generic search worker ", function () {
// If this test fails, make sure this path is correct // If this test fails, make sure this path is correct
var worker = new Worker('platform/search/src/GenericSearchWorker.js'), var worker = new Worker(require.toUrl('platform/search/src/GenericSearchWorker.js')),
numObjects = 5; numObjects = 5;
beforeEach(function () { beforeEach(function () {