Clarifying which var is accesed

This test creates its own zoomslider and doesn't access the one from the closure.
This commit is contained in:
Tim Schaub
2013-03-18 21:52:01 -06:00
parent 928457e174
commit fad57a0fe5

View File

@@ -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() {