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