]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/trace_test.rb
back out the registration of the gpx mime type, as it didn't seem work
[rails.git] / test / unit / trace_test.rb
index 706455aa2e9263cbf3737cb495b3b7219aed540b..0d72e553ea4e79df8c1a40b2cf08c4741300dcca 100644 (file)
@@ -1,11 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
-class TraceTest < Test::Unit::TestCase
-  fixtures :gpx_files
-  set_fixture_class :gpx_files => Trace
+class TraceTest < ActiveSupport::TestCase
+  api_fixtures
   
   def test_trace_count
-    assert_equal 1, Trace.count
+    assert_equal 4, Trace.count
   end
   
 end