Don't rely on test side effects to init() osm service

This commit is contained in:
Bryan Housel
2016-11-09 11:41:19 -05:00
parent 10a6719ea2
commit 9845f0594e
+4 -2
View File
@@ -1,8 +1,10 @@
describe('iD.serviceOsm', function () {
var connection;
var context, connection;
beforeEach(function () {
connection = iD.services.osm;
context = iD.Context(window);
connection = context.connection();
connection.switch({ urlroot: 'http://www.openstreetmap.org'});
connection.reset();
});