diff --git a/spec/suites/LeafletSpec.js b/spec/suites/LeafletSpec.js index 29c2b1c5..c67879cf 100644 --- a/spec/suites/LeafletSpec.js +++ b/spec/suites/LeafletSpec.js @@ -1,12 +1,12 @@ describe('L#noConflict', function() { it('should restore the previous L value and return Leaflet namespace', function(){ - expect(L.version).toBeDefined(); + expect(L.VERSION).toBeDefined(); var L2 = L.noConflict(); expect(L).toEqual('test'); - expect(L2.version).toBeDefined(); + expect(L2.VERSION).toBeDefined(); this.after(function() { window.L = L2;