Commit 62ac8daf 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 e4839633
......@@ -23,6 +23,10 @@ class DocumentTest < ActiveSupport::TestCase
:users, :email_addresses, :members, :member_roles, :roles,
def setup
User.current = nil
def test_create
doc = => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation'))
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