Script and makefile adjustments for updating extlib
[larjonas-mediagoblin.git] / extlib / leaflet / spec / suites / LeafletSpec.js
blobc67879cfac6df8de1a5c48ebad5002968bd5c816
1 describe('L#noConflict', function() {
2 it('should restore the previous L value and return Leaflet namespace', function(){
4 expect(L.VERSION).toBeDefined();
6 var L2 = L.noConflict();
8 expect(L).toEqual('test');
9 expect(L2.VERSION).toBeDefined();
11 this.after(function() {
12 window.L = L2;
13 });
14 });
15 });