Remove function that is in the test help from functional test

This commit is contained in:
Shaun McDonald 2009-04-14 11:39:46 +00:00
parent 72a3947b1b
commit d84d5c68de

View file

@ -4,14 +4,6 @@ require 'way_controller'
class WayControllerTest < ActionController::TestCase class WayControllerTest < ActionController::TestCase
api_fixtures 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 ways. # Test reading ways.
# ------------------------------------- # -------------------------------------