]> git.openstreetmap.org Git - rails.git/commitdiff
fixing the tests I broke earlier due to the fixture changes
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 6 May 2009 17:56:10 +0000 (17:56 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 6 May 2009 17:56:10 +0000 (17:56 +0000)
test/functional/api_controller_test.rb
test/unit/trace_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
index 638003962fa2f1caf9417fb517c5d3f543f2fa88..f3fe1b769e133f0bbe4228d9e45ec7e6fb80c158 100644 (file)
@@ -4,7 +4,7 @@ class TraceTest < Test::Unit::TestCase
   api_fixtures
   
   def test_trace_count
-    assert_equal 1, Trace.count
+    assert_equal 2, Trace.count
   end
   
 end