- post :create, {
- :display_name => user.display_name,
- :client_application => {
- :name => "Test Application",
- :url => "http://test.example.com/"
- }
- }, { :user => user }
+ post oauth_clients_path(:display_name => user.display_name,
+ :client_application => { :name => "Test Application",
+ :url => "http://test.example.com/" })