Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/acts_as_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,3 @@ def update_parents_counter_cache
end
end
end

# Deprecating the following code in the future.
require 'acts_as_tree/active_record/acts/tree'
15 changes: 0 additions & 15 deletions lib/acts_as_tree/active_record/acts/tree.rb

This file was deleted.

3 changes: 1 addition & 2 deletions test/acts_as_tree_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'active_record'
require 'acts_as_tree'

class ActsAsTreeTestCase < (defined?(MiniTest::Test) ? MiniTest::Test : MiniTest::Unit::TestCase)
class ActsAsTreeTestCase < (defined?(Minitest::Test) ? Minitest::Test : Minitest::Unit::TestCase)
UPDATE_METHOD = ActiveRecord::VERSION::MAJOR >= 4 ? :update : :update_attributes

def assert_queries(num = 1, &block)
Expand Down Expand Up @@ -628,4 +628,3 @@ def test_alias_tree_level
assert_equal 'Has Level Column', @level_column.level
end
end