]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/client_applications_test.rb
Refactor the account edit/update pages out into a separate accounts controller
[rails.git] / test / integration / client_applications_test.rb
index 269d3633d0f8dc9c4568187b138184789fd004e4..0ac15759e0c0ec890849f1a19d2776ababedae84 100644 (file)
@@ -17,9 +17,9 @@ class ClientApplicationsTest < ActionDispatch::IntegrationTest
     follow_redirect!
     assert_response :success
     assert_template "users/show"
-    get "/user/#{ERB::Util.u(user.display_name)}/account"
+    get "/account/edit"
     assert_response :success
-    assert_template "users/account"
+    assert_template "accounts/edit"
 
     # check that the form to allow new client application creations exists
     assert_in_heading do