This commit is contained in:
albert
2013-03-09 01:56:59 -05:00
parent 6a2f69f2fc
commit 1da9e24bd0
3 changed files with 14 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ class CommentTest < ActiveSupport::TestCase
comment_vote = c1.vote!("up")
assert_equal([], comment_vote.errors.full_messages)
comment_vote = c1.vote!("up")
assert_equal(["User has already voted for this comment"], comment_vote.errors.full_messages)
assert_equal(["You have already voted for this comment"], comment_vote.errors.full_messages)
assert_equal(1, CommentVote.count)
assert_equal(1, CommentVote.last.score)