]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/user_preference_test.rb
Use method rather than direct access to member for the current token.
[rails.git] / test / unit / user_preference_test.rb
index 2118fcd395df252d0c40d6cc6188cb35109b650c..df9e1e9b277ebddcea902703154458c3e7433b3d 100644 (file)
@@ -1,7 +1,8 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class UserPreferenceTest < ActiveSupport::TestCase
-  fixtures :users, :user_preferences
+  api_fixtures
+  fixtures :user_preferences
 
   # This checks to make sure that there are two user preferences
   # stored in the test database.