Commit e4839633 authored by jplang's avatar jplang

Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f515ff74
......@@ -34,6 +34,7 @@ class UserTest < ActiveSupport::TestCase
@admin = User.find(1)
@jsmith = User.find(2)
@dlopper = User.find(3)
User.current = nil
def test_admin_scope_without_args_should_return_admin_users
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment