diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-09-15 13:04:08 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-23 12:50:46 -0400 |
commit | c56ff22fc6e97df4656ddc22909d9bf8b0c2cbb1 (patch) | |
tree | d03bf14d6af72e01514c7052d4953b80e0e684ff /activerecord/test/cases | |
parent | 9438c144b1893f2a59ec0924afe4d46bd8d5ffdd (diff) | |
download | rails-c56ff22fc6e97df4656ddc22909d9bf8b0c2cbb1.tar.gz rails-c56ff22fc6e97df4656ddc22909d9bf8b0c2cbb1.tar.bz2 rails-c56ff22fc6e97df4656ddc22909d9bf8b0c2cbb1.zip |
Remove deprecated method `supports_primary_key?`
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/primary_keys_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/primary_keys_test.rb b/activerecord/test/cases/primary_keys_test.rb index a36d786b40..7f6c2382ca 100644 --- a/activerecord/test/cases/primary_keys_test.rb +++ b/activerecord/test/cases/primary_keys_test.rb @@ -156,10 +156,6 @@ class PrimaryKeysTest < ActiveRecord::TestCase assert_nothing_raised { MixedCaseMonkey.find(1).destroy } end - def test_deprecate_supports_primary_key - assert_deprecated { ActiveRecord::Base.connection.supports_primary_key? } - end - def test_primary_key_returns_value_if_it_exists klass = Class.new(ActiveRecord::Base) do self.table_name = "developers" |