avoid deprecated methods

This commit is contained in:
Aaron Patterson
2011-12-06 10:07:47 -08:00
parent 0968ee3456
commit 9dee540084

View File

@@ -1555,7 +1555,7 @@ if ActiveRecord::Base.connection.supports_migrations?
assert_equal "hello world", Thing.find(:first).content
RenameThings.up
Thing.set_table_name("prefix_awesome_things_suffix")
Thing.table_name = "prefix_awesome_things_suffix"
assert_equal "hello world", Thing.find(:first).content
ensure