- assert_select "h2", "Application Developers"
- assert_select "a[href='/oauth_clients/new']"
+ assert_select "a[href='/user/test2/oauth_clients']"
+ end
+
+ # now we follow the link to the oauth client list
+ get '/user/test2/oauth_clients'
+ assert_response :success
+ assert_in_body do
+ assert_select "a[href='/user/test2/oauth_clients/new']"