diff options
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index bc1a350a2..14f2d003f 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -221,7 +221,8 @@ class ActiveSupport::TestCase # It seems correct behavior because of this line comment. # https://github.com/collectiveidea/awesome_nested_set/blame/199fca9bb9/lib/awesome_nested_set/model.rb#L278 def new_issue_lft - ::AwesomeNestedSet::VERSION > "2.1.6" ? Issue.maximum(:rgt) + 1 : 1 + # ::AwesomeNestedSet::VERSION > "2.1.6" ? Issue.maximum(:rgt) + 1 : 1 + Issue.maximum(:rgt) + 1 end end |