]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/oauth_clients_controller_test.rb
JSON: added clarification for non-supported Accept header formats
[rails.git] / test / controllers / oauth_clients_controller_test.rb
index 81ab290b94a8e7938021962e3e42931f27aedb58..7a963a8e242907f2965f3d562427a2feeb8a025f 100644 (file)
@@ -37,6 +37,7 @@ class OauthClientsControllerTest < ActionController::TestCase
   def test_index
     user = create(:user)
     create_list(:client_application, 2, :user => user)
+    create_list(:access_token, 2, :user => user)
 
     get :index,
         :params => { :display_name => user.display_name }