X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a5ee93b30110e2c89879e0a67ab2b1c18158faf2..ec73d70659686a51f5f4b6b737c9dea1daff8325:/test/system/user_suspension_test.rb diff --git a/test/system/user_suspension_test.rb b/test/system/user_suspension_test.rb index d6368b68b..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 + 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