]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Adding an extra test to make sure that the correct response is returned when an inval...
[rails.git] / test / test_helper.rb
index a170aed4fba9f08be9372da51e18a778382af3e7..f355bf7853cdb3f51d6a4f8d20d955d7198be8fe 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, :gpx_points, :gpx_file_tags
+    set_fixture_class :gpx_files => Trace
+    set_fixture_class :gpx_points => Tracepoint
+    set_fixture_class :gpx_file_tags => Tracetag
   end
 
   ##