X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4bed9c12a0b5e8302098f1646802ce247abf95ee..c816efc3862ddcdb8fa5e9f14a8b13ff98fdeae6:/test/system/user_suspension_test.rb diff --git a/test/system/user_suspension_test.rb b/test/system/user_suspension_test.rb index 075303ff0..a72512357 100644 --- a/test/system/user_suspension_test.rb +++ b/test/system/user_suspension_test.rb @@ -7,7 +7,7 @@ class UserSuspensionTest < ApplicationSystemTestCase visit edit_account_path assert_content "My Settings" - user.update(:status => "suspended") + user.suspend! visit edit_account_path assert_content "This decision will be reviewed by an administrator shortly"