From cb37aaa01b48397525e428354c27eb5e855233f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Jun 2012 10:59:57 +0200 Subject: [PATCH] map.test.js - fix the map is destroyable test in advanced mode --- test/spec/api/map.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/api/map.test.js b/test/spec/api/map.test.js index 156fa08203..6af17294d3 100644 --- a/test/spec/api/map.test.js +++ b/test/spec/api/map.test.js @@ -158,7 +158,7 @@ describe("ol.map", function() { map.destroy(); - expect(goog.isDef(map.getLayers())).toBe(false); + expect(map.layers()).not.toBeDefined(); });