]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/trace_test.rb
Add some more unit tests for users
[rails.git] / test / unit / trace_test.rb
index 706455aa2e9263cbf3737cb495b3b7219aed540b..db6dc6044cca48e2e2ffc0f8b4b21d7396b6d132 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 5, Trace.count
   end
   
 end