Permalink
Browse files

avoid deprecated methods

  • Loading branch information...
tenderlove committed Dec 6, 2011
1 parent 0968ee3 commit 9dee5400845a5355b28868c475bc58c6cfb06216
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/migration_test.rb
@@ -1555,7 +1555,7 @@ def test_rename_table_with_prefix_and_suffix
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

0 comments on commit 9dee540

Please sign in to comment.