]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/trace_controller_test.rb
Don't pass strings to set_fixture_class
[rails.git] / test / controllers / trace_controller_test.rb
index 01c81a1aa5cf45c6bb89a217a4f753dab158d627..8cbc14b3164fd86342919505817cac618c7695da 100644 (file)
@@ -2,7 +2,7 @@ require 'test_helper'
 
 class TraceControllerTest < ActionController::TestCase
   fixtures :users, :gpx_files
-  set_fixture_class :gpx_files => 'Trace'
+  set_fixture_class :gpx_files => Trace
 
   def setup
     @gpx_trace_dir = Object.send("remove_const", "GPX_TRACE_DIR")