]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_suspension_test.rb
Merge remote-tracking branch 'upstream/pull/5696'
[rails.git] / test / system / user_suspension_test.rb
index d6368b68b28edfb4a8aa825428341d93b660dcea..55c4b82d7c7c445d65ac885fcfac77f460d3b7cd 100644 (file)
@@ -4,12 +4,12 @@ class UserSuspensionTest < ApplicationSystemTestCase
   test "User shown a message when suspended mid-session" do
     user = create(:user)
     sign_in_as(user)
-    visit edit_account_path
+    visit account_path
     assert_content "My Account"
 
     user.suspend!
 
-    visit edit_account_path
+    visit account_path
     assert_content "This decision will be reviewed by an administrator shortly"
   end
 end