set_table_name deprecated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9550 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-04-27 16:31:51 +00:00
parent d940797aa7
commit f2ec23d80c
6 changed files with 32 additions and 32 deletions

View File

@@ -8,11 +8,11 @@ class AwesomeNestedSetTest < Test::Unit::TestCase
class Default < ActiveRecord::Base
acts_as_nested_set
set_table_name 'categories'
self.table_name = 'categories'
end
class Scoped < ActiveRecord::Base
acts_as_nested_set :scope => :organization
set_table_name 'categories'
self.table_name = 'categories'
end
def test_left_column_default