]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/node_controller_test.rb
Added a changeset/#id/include method to POST to to expand the bounding box.
[rails.git] / test / functional / node_controller_test.rb
index dbc00cbb2471e1918a525d3c7b5f8b1000740c47..9e5621f8b324adad189a9731c89af9b9a3141a04 100644 (file)
@@ -1,18 +1,9 @@
 require File.dirname(__FILE__) + '/../test_helper'
 require 'node_controller'
 
-# Re-raise errors caught by the controller.
-class NodeController; def rescue_action(e) raise e end; end
-
-class NodeControllerTest < Test::Unit::TestCase
+class NodeControllerTest < ActionController::TestCase
   api_fixtures
 
-  def setup
-    @controller = NodeController.new
-    @request    = ActionController::TestRequest.new
-    @response   = ActionController::TestResponse.new
-  end
-
   def test_create
     # cannot read password from fixture as it is stored as MD5 digest
     basic_authorization(users(:normal_user).email, "test");