]> git.openstreetmap.org Git - rails.git/blob - test/functional/browse_controller_test.rb
Fixed a couple of bugs with changeset bounding box calculation when modifying or...
[rails.git] / test / functional / browse_controller_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'browse_controller'
3
4 class BrowseControllerTest < ActionController::TestCase
5   api_fixtures
6
7   def basic_authorization(user, pass)
8     @request.env["HTTP_AUTHORIZATION"] = "Basic %s" % Base64.encode64("#{user}:#{pass}")
9   end
10
11   def content(c)
12     @request.env["RAW_POST_DATA"] = c.to_s
13   end
14
15   # We need to load the home page, then activate the start rjs method
16   # and finally check that the new panel has loaded.
17   def test_start
18   
19   end
20   
21   # Test reading a relation
22   def test_read_relation
23     
24   end
25   
26   def test_read_relation_history
27     
28   end
29   
30   def test_read_way
31     
32   end
33   
34   def test_read_way_history
35     
36   end
37   
38   def test_read_node
39     
40   end
41   
42   def test_read_node_history
43     
44   end
45   
46   def test_read_changeset
47     
48   end
49 end