diff --git a/spec/features/management/managed_users_spec.rb b/spec/features/management/managed_users_spec.rb index 83a36047e..dc0c3f3e0 100644 --- a/spec/features/management/managed_users_spec.rb +++ b/spec/features/management/managed_users_spec.rb @@ -111,7 +111,7 @@ feature 'Managed User' do expect(page).to have_content "Identified as" expect(page).to have_content "#{user.username}" - click_link "Logout" + click_link "Change user" end expect(page).to have_content "Signed out successfully."