Update test so that it correctly requires the mopidy module

As part of issue #609, the require statement in mopidy-test.js should
have been updated as the API to require mopidy has changed from:

    require('mopidy').Mopidy;

to:

    require('mopidy');
This commit is contained in:
Paul Connolley 2013-12-17 08:57:44 +00:00
parent 418e5689dc
commit a83b71239b

View File

@ -2,7 +2,7 @@
if (typeof module === "object" && typeof require === "function") {
var buster = require("buster");
var Mopidy = require("../src/mopidy").Mopidy;
var Mopidy = require("../src/mopidy");
var when = require("when");
}