aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2013-07-14 02:12:33 +0900
committerkennyj <kennyj@gmail.com>2013-09-24 21:56:52 +0900
commitbb54fcdfadcab3d69b46da384d00abfd09626031 (patch)
treec84f06581328f8c740a8d1a29cee1cfd8c2b25fe /activerecord/test
parent50ddf404122419abcfcc4af8439da020e2ff317e (diff)
downloadrails-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.rb4
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