]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/node_controller_test.rb
Fix rubocop warnings
[rails.git] / test / controllers / node_controller_test.rb
index 5ea1dd5a4b6b4bad5c52c8823456f300cfa1fe00..8952daade6a3f1379017f916f0f33c61b9bb030b 100644 (file)
@@ -499,14 +499,6 @@ class NodeControllerTest < ActionController::TestCase
     assert apinode.tags.include?("\#{@user.inspect}")
   end
 
     assert apinode.tags.include?("\#{@user.inspect}")
   end
 
-  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
-
   ##
   # update the changeset_id of a node element
   def update_changeset(xml, changeset_id)
   ##
   # update the changeset_id of a node element
   def update_changeset(xml, changeset_id)