fix unit tests
This commit is contained in:
@@ -2,6 +2,7 @@ require 'test_helper'
|
||||
|
||||
class CurrentUserTest < ActiveSupport::TestCase
|
||||
setup do
|
||||
User.any_instance.stubs(:validate_sock_puppets).returns(true)
|
||||
CurrentUser.user = nil
|
||||
CurrentUser.ip_addr = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user