Commit 3728da00 authored by maeda's avatar maeda

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

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent efbe1550
...@@ -24,6 +24,10 @@ class IssueNestedSetTest < ActiveSupport::TestCase ...@@ -24,6 +24,10 @@ class IssueNestedSetTest < ActiveSupport::TestCase
:enumerations, :enumerations,
:issues :issues
def setup
User.current = nil
def test_new_record_is_leaf def test_new_record_is_leaf
i = i =
assert i.leaf? assert i.leaf?
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