Fixing some of the tests, adding the new tests to make sure that you can't edit when...
[rails.git] / test / unit / trace_test.rb
index 706455aa2e9263cbf3737cb495b3b7219aed540b..638003962fa2f1caf9417fb517c5d3f543f2fa88 100644 (file)
@@ -1,8 +1,7 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class TraceTest < Test::Unit::TestCase
 require File.dirname(__FILE__) + '/../test_helper'
 
 class TraceTest < Test::Unit::TestCase
-  fixtures :gpx_files
-  set_fixture_class :gpx_files => Trace
+  api_fixtures
   
   def test_trace_count
     assert_equal 1, Trace.count
   
   def test_trace_count
     assert_equal 1, Trace.count