]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/api_controller_test.rb
Added min_lat > max_lat test.
[rails.git] / test / functional / api_controller_test.rb
index 3e86affaeced52c3c525fb132ed1f3cc395c419f..4cd20d3dd9af1c175e5102cf1be66961651ff66a 100644 (file)
@@ -7,8 +7,6 @@ class ApiController; def rescue_action(e) raise e end; end
 class ApiControllerTest < Test::Unit::TestCase
   api_fixtures
   
-
-
   def setup
     @controller = ApiController.new
     @request    = ActionController::TestRequest.new
@@ -16,7 +14,7 @@ class ApiControllerTest < Test::Unit::TestCase
     @badbigbbox = %w{ -0.1,-0.1,1.1,1.1 10,10,11,11 }
     @badmalformedbbox = %w{ -0.1  hello S0.1,W0.1,N0.1,E0.1
     10N2W10.1N2.1W }
-    @badlatmixedbbox = %w{}
+    @badlatmixedbbox = %w{ 0,0.1,0.1,0 }
     @badlonmixedbbox = %w{}
     @badlatlonoutboundsbbox = %w{ -190.2,-190.2,-190.1,-190.1 -190.1,89.9,-190,90 }
     @goodbbox = %w{ -0.1,-0.1,0.1,0.1 51.1,-0.1,51.2,0