adds spec for management's managed user logout
This commit is contained in:
@@ -115,6 +115,8 @@ feature 'Managed User' do
|
||||
end
|
||||
|
||||
expect(page).to have_content "User session signed out successfully."
|
||||
expect(page).to_not have_content "Identified as"
|
||||
expect(page).to_not have_content "#{user.username}"
|
||||
expect(current_path).to eq(management_root_path)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user