user = create(:user, :suspended)
visit user_path(user)
accept_confirm do
- click_on "Unsuspend"
+ click_link "Unsuspend"
end
assert_no_content "Unsuspend"
user = create(:user, :suspended)
visit user_path(user)
accept_confirm do
- click_on "Confirm"
+ click_link "Confirm"
end
assert_no_content "Unsuspend"