]> git.openstreetmap.org Git - rails.git/commitdiff
More fixes to fixture loading in tests
authorTom Hughes <tom@compton.nu>
Mon, 23 Feb 2015 22:34:04 +0000 (22:34 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 23 Feb 2015 22:34:04 +0000 (22:34 +0000)
test/controllers/user_controller_test.rb

index 67819fdfa6ed4d668bb932277a279988f35ea430..7b5f77d62d90725c0a23c87e2b3f74cd6efefb21 100644 (file)
@@ -1,7 +1,8 @@
 require "test_helper"
 
 class UserControllerTest < ActionController::TestCase
 require "test_helper"
 
 class UserControllerTest < ActionController::TestCase
-  fixtures :users, :user_blocks, :user_roles, :changesets, :gpx_files, :messages
+  api_fixtures
+  fixtures :user_blocks, :messages, :friends
 
   ##
   # test all routes which lead to this controller
 
   ##
   # test all routes which lead to this controller