From 763de675967250edf39d7b1189dcd955774ad9c5 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Sat, 8 Sep 2012 18:48:54 +0100 Subject: [PATCH] [test][xs]: remove dataset.query calls in map tests as no longer needed (since 02d152c5ad2a68e8b80ed63c636e2d6e4c3d084a I think). --- test/view.map.test.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/view.map.test.js b/test/view.map.test.js index 19b1403f..4ca6b567 100644 --- a/test/view.map.test.js +++ b/test/view.map.test.js @@ -32,9 +32,6 @@ test('basics', function () { $('.fixtures').append(view.el); view.render(); - //Fire query, otherwise the map won't be initialized - dataset.query(); - assertPresent('.editor-field-type', view.elSidebar); // Check that the Leaflet map was set up @@ -95,9 +92,6 @@ test('GeoJSON geom field', function () { $('.fixtures').append(view.el); view.render(); - //Fire query, otherwise the map won't be initialized - dataset.query(); - // Check that all features were created equal(_getFeaturesCount(view.features),3); @@ -143,9 +137,6 @@ test('Popup', function () { $('.fixtures').append(view.el); view.render(); - //Fire query, otherwise the map won't be initialized - dataset.query(); - var marker = view.el.find('.leaflet-marker-icon').first(); assertPresent(marker);