1 require "application_system_test_case"
3 class UserSuspensionTest < ApplicationSystemTestCase
4 test "User shown a message when suspended mid-session" do
7 visit edit_account_path
8 assert_content "My Settings"
10 user.update(:status => "suspended")
12 visit edit_account_path
13 assert_content "This decision will be reviewed by an administrator shortly"