X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/446837c3511bf76f11b0d1e6d5a3ff79b69b0d70..c446ca287b7dfa79cf1722ffe950f9a38e4f74d3:/test/system/user_suspension_test.rb?ds=sidebyside diff --git a/test/system/user_suspension_test.rb b/test/system/user_suspension_test.rb index a72512357..55c4b82d7 100644 --- a/test/system/user_suspension_test.rb +++ b/test/system/user_suspension_test.rb @@ -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 - assert_content "My Settings" + 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