Add extra visibility options for GPS traces, and enhance the API call
[rails.git] / test / unit / tracepoint_test.rb
index 5d4100530ebcfef51f93dc1de2bcc65bb9dbc990..c49f9fbdcacde2134247aab632e4c14e1ecb673c 100644 (file)
@@ -1,11 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
-class TracepointTest < Test::Unit::TestCase
-  fixtures :gps_points
-  set_fixture_class :gps_points => Tracepoint
+class TracepointTest < ActiveSupport::TestCase
+  api_fixtures
   
   def test_tracepoint_count
-    assert_equal 1, Tracepoint.count
+    assert_equal 4, Tracepoint.count
   end
   
 end