fix tests
This commit is contained in:
@@ -5,6 +5,7 @@ class CommentVotesControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
CurrentUser.user = @user = Factory.create(:user)
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
Danbooru.config.stubs(:member_comment_time_threshold).returns(1.week.from_now)
|
||||
@comment = Factory.create(:comment)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user