1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'browse_controller'
4 class BrowseControllerTest < ActionController::TestCase
7 def basic_authorization(user, pass)
8 @request.env["HTTP_AUTHORIZATION"] = "Basic %s" % Base64.encode64("#{user}:#{pass}")
12 @request.env["RAW_POST_DATA"] = c.to_s
15 # We need to load the home page, then activate the start rjs method
16 # and finally check that the new panel has loaded.
21 # Test reading a relation
22 def test_read_relation
26 def test_read_relation_history
34 def test_read_way_history
42 def test_read_node_history
46 def test_read_changeset