def test_ham_exclamation_point_updates_spam_status_to_ham @comment = Comment.create!(SPAM_COMMENTS[2]) assert @comment.spam? @comment.ham! assert @comment.ham? @comment.destroy end