X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721dd9c27d299455b9159457a095716f797389f1..c1b65d11fd71d3801f4f5e42a3c40dc872a766f9:/test/unit/trace_test.rb diff --git a/test/unit/trace_test.rb b/test/unit/trace_test.rb index 706455aa2..0d72e553e 100644 --- a/test/unit/trace_test.rb +++ b/test/unit/trace_test.rb @@ -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