]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/browse_controller_test.rb
Added a changeset/#id/include method to POST to to expand the bounding box.
[rails.git] / test / functional / browse_controller_test.rb
index 81dbede570928477d3bab41f73d944d927855165..65e851011abff7a759dd64d1b2be787896158e3d 100644 (file)
@@ -1,19 +1,8 @@
 require File.dirname(__FILE__) + '/../test_helper'
 require 'browse_controller'
 
-# Re-raise errors caught by the controller.
-class BrowseController; def rescue_action(e) raise e end; end
-
-  class BrowseControllerTest < Test::Unit::TestCase
+class BrowseControllerTest < ActionController::TestCase
   api_fixtures
-  
-
-
-  def setup
-    @controller = BrowseController.new
-    @request    = ActionController::TestRequest.new
-    @response   = ActionController::TestResponse.new
-  end
 
   def basic_authorization(user, pass)
     @request.env["HTTP_AUTHORIZATION"] = "Basic %s" % Base64.encode64("#{user}:#{pass}")