Give a nice error message when parsing the nwr tags and they are missing the k and...
[rails.git] / test / unit / trace_test.rb
index 706455aa2e9263cbf3737cb495b3b7219aed540b..a39aa4fa2848018c4291d757678671225fe797ba 100644 (file)
@@ -1,11 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 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
   
   def test_trace_count
-    assert_equal 1, Trace.count
+    assert_equal 2, Trace.count
   end
   
 end
   end
   
 end