diff --git a/spec/features/users_spec.rb b/spec/features/users_spec.rb index f6efbbed..b3a72b7a 100644 --- a/spec/features/users_spec.rb +++ b/spec/features/users_spec.rb @@ -123,7 +123,7 @@ visit "/users/#{not_your_user.id}/profile" - expect(page).to have_content('LOGIN to Update Email / Update Password / Delete Account') + expect(page).to_not have_content('Update Email / Update Password / Delete Account') end end describe 'update_user_flag', type: :feature, js: true do