]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/api_controller_test.rb
fix the user unit test so that it doesn't use a depricated method in rails 2.2.2
[rails.git] / test / functional / api_controller_test.rb
index fdb36628e4c82d6ef8c8ff32a6eac34be3fbda1f..285556cd87ca2f4b3224cfd756a387c2e66de780 100644 (file)
@@ -59,7 +59,7 @@ class ApiControllerTest < ActionController::TestCase
   end
   
   def test_tracepoints
-    point = gpx_files(:first_trace_file)
+    point = gpx_files(:public_trace_file)
     minlon = point.longitude-0.1
     minlat = point.latitude-0.1
     maxlon = point.longitude+0.1