Update to use the correct default style function namespace

This commit is contained in:
Andreas Hocevar
2014-07-24 14:31:12 +02:00
parent b7b5de659b
commit c1d49a8cef

View File

@@ -79,7 +79,7 @@ describe('ol.layer.Vector', function() {
expect(layer.getStyleFunction()).to.be(ol.style.defaults.styleFunction);
layer.setStyle(style);
expect(layer.getStyleFunction()).not.to.be(
ol.feature.defaultStyleFunction);
ol.style.defaults.styleFunction);
});
});