Files
danbooru/test/unit
evazion 72502dbe2f Fix comment voting tests.
2) Error:
CommentTest#test_: A comment created by an unlimited user should not allow duplicate votes. :
ActiveRecord::RecordInvalid: Validation failed: You have already voted for this comment
    app/models/comment.rb:142:in `vote!'
    test/unit/comment_test.rb:164:in `block (3 levels) in <class:CommentTest>'

  3) Error:
CommentTest#test_: A comment created by an unlimited user should not allow upvotes by the creator. :
ActiveRecord::RecordInvalid: Validation failed: You cannot upvote your own comments
    app/models/comment.rb:142:in `vote!'
    test/unit/comment_test.rb:179:in `block (3 levels) in <class:CommentTest>'
2017-02-03 04:03:44 -06:00
..
2011-11-01 17:51:15 -04:00
2015-08-18 17:40:53 -07:00
2014-04-16 17:43:34 -07:00
2017-01-24 13:13:13 -08:00
2016-12-21 11:43:46 -08:00
2014-04-16 17:43:34 -07:00
2011-08-15 19:41:50 -04:00
2014-07-23 15:15:47 -07:00
2017-02-03 04:03:44 -06:00
2014-11-07 15:03:00 -08:00
2016-09-10 10:41:27 +05:00
2015-02-09 19:10:47 -08:00
2016-01-18 17:13:26 -08:00
2014-10-22 17:22:36 -07:00
2016-12-21 11:43:46 -08:00
2015-09-23 12:13:14 -07:00
2013-08-02 16:55:30 -07:00
2013-08-04 17:11:51 -07:00
2013-07-24 18:12:44 -07:00
2017-01-24 13:13:13 -08:00
2015-06-29 18:17:59 -07:00
2014-12-03 14:07:42 -08:00