From 2cca6586dc98e70d0c8ddcd980dbbad46de66466 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sat, 6 Oct 2012 11:01:17 -0700 Subject: [PATCH] Test the right class --- spec/suites/geo/LatLngBoundsSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {