diff --git a/spec/suites/geo/LatLngBoundsSpec.js b/spec/suites/geo/LatLngBoundsSpec.js index 62d8d29c..384f5ab6 100644 --- a/spec/suites/geo/LatLngBoundsSpec.js +++ b/spec/suites/geo/LatLngBoundsSpec.js @@ -2,10 +2,10 @@ describe('LatLngBounds', function() { var a, c; beforeEach(function() { - a = new L.Bounds( - new L.Point(14, 12), - new L.Point(30, 40)); - c = new L.Bounds(); + a = new L.LatLngBounds( + new L.LatLng(14, 12), + new L.LatLng(30, 40)); + c = new L.LatLngBounds(); }); describe('#isValid', function() {