]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Adding test to check that users can't update changesets that they don't own.
[rails.git] / test / test_helper.rb
index a170aed4fba9f08be9372da51e18a778382af3e7..e38f74af58863a73ae7960c0761b97c0ad7e6d73 100644 (file)
@@ -27,7 +27,7 @@ class Test::Unit::TestCase
 
   # Load standard fixtures needed to test API methods
   def self.api_fixtures
-    print "setting up the api_fixtures"
+    #print "setting up the api_fixtures"
     fixtures :users, :changesets
 
     fixtures :current_nodes, :nodes
@@ -57,6 +57,11 @@ class Test::Unit::TestCase
     set_fixture_class :relations => OldRelation
     set_fixture_class :relation_members => OldRelationMember
     set_fixture_class :relation_tags => OldRelationTag
+    
+    fixtures :gpx_files, :gps_points, :gpx_file_tags
+    set_fixture_class :gpx_files => Trace
+    set_fixture_class :gps_points => Tracepoint
+    set_fixture_class :gpx_file_tags => Tracetag
   end
 
   ##