]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/relation_controller_test.rb
initial untest nginx config. API 0.6 tweaking still required.
[rails.git] / test / functional / relation_controller_test.rb
index f52981233371097a9cd3ad94a1a25f592b5c5405..d2dacd79c2408e15f2f0c53c2498b6f0ea226c42 100644 (file)
@@ -4,14 +4,6 @@ require 'relation_controller'
 class RelationControllerTest < ActionController::TestCase
   api_fixtures
 
-  def basic_authorization(user, pass)
-    @request.env["HTTP_AUTHORIZATION"] = "Basic %s" % Base64.encode64("#{user}:#{pass}")
-  end
-
-  def content(c)
-    @request.env["RAW_POST_DATA"] = c.to_s
-  end
-
   # -------------------------------------
   # Test reading relations.
   # -------------------------------------