diff options
author | kennyj <kennyj@gmail.com> | 2013-07-14 02:12:33 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-09-24 21:56:52 +0900 |
commit | bb54fcdfadcab3d69b46da384d00abfd09626031 (patch) | |
tree | c84f06581328f8c740a8d1a29cee1cfd8c2b25fe /activerecord/test | |
parent | 50ddf404122419abcfcc4af8439da020e2ff317e (diff) | |
download | rails-bb54fcdfadcab3d69b46da384d00abfd09626031.tar.gz rails-bb54fcdfadcab3d69b46da384d00abfd09626031.tar.bz2 rails-bb54fcdfadcab3d69b46da384d00abfd09626031.zip |
Deprecate unused quoted_locking_column method.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/locking_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/locking_test.rb b/activerecord/test/cases/locking_test.rb index dfa12cb97c..a16ed963fe 100644 --- a/activerecord/test/cases/locking_test.rb +++ b/activerecord/test/cases/locking_test.rb @@ -272,6 +272,10 @@ class OptimisticLockingTest < ActiveRecord::TestCase assert p.treasures.empty? assert RichPerson.connection.select_all("SELECT * FROM peoples_treasures WHERE rich_person_id = 1").empty? end + + def test_quoted_locking_column_is_deprecated + assert_deprecated { ActiveRecord::Base.quoted_locking_column } + end end class OptimisticLockingWithSchemaChangeTest < ActiveRecord::TestCase |