adds spec for management's managed user logout

This commit is contained in:
Juanjo Bazán
2015-10-23 13:48:50 +02:00
parent f1bc7af462
commit 97dcd02750
2 changed files with 22 additions and 0 deletions

View File

@@ -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