Remove function that is in the test help from functional test
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 14 Apr 2009 11:52:56 +0000 (11:52 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 14 Apr 2009 11:52:56 +0000 (11:52 +0000)
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.
   # -------------------------------------