diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_nested_set_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb index f42fa4097..30aa2a097 100644 --- a/test/unit/issue_nested_set_test.rb +++ b/test/unit/issue_nested_set_test.rb @@ -24,6 +24,10 @@ class IssueNestedSetTest < ActiveSupport::TestCase :enumerations, :issues + def setup + User.current = nil + end + def test_new_record_is_leaf i = Issue.new assert i.leaf? |