From fad57a0fe528e79bf446e4d79cbb598c9df6ad96 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 18 Mar 2013 21:52:01 -0600 Subject: [PATCH] Clarifying which var is accesed This test creates its own zoomslider and doesn't access the one from the closure. --- test/spec/ol/control/zoomslider.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/spec/ol/control/zoomslider.test.js b/test/spec/ol/control/zoomslider.test.js index eac8dada73..cf1607b061 100644 --- a/test/spec/ol/control/zoomslider.test.js +++ b/test/spec/ol/control/zoomslider.test.js @@ -22,7 +22,8 @@ describe('ol.control.ZoomSlider', function() { describe('configuration & defaults', function() { it('has valid defaults for min and maxresolution', function() { - var expectedMin = 0.5971642833948135, + var zoomslider, + expectedMin = 0.5971642833948135, expectedMax = 156543.0339, expectedRange = expectedMax - expectedMin; expect(function() {