diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2016-12-19 08:53:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 08:53:51 -0500 |
commit | 79b6a259168caa573e0c96fc0c115c13ab17537d (patch) | |
tree | 723522bf1101a6cc4a445043519efb0481bd3c14 | |
parent | 3582f58a7558dc0ddb3051b9deb5354aee378b5b (diff) | |
parent | c472c807c67778c8d0acec64438ca7745962c4a0 (diff) | |
download | rails-79b6a259168caa573e0c96fc0c115c13ab17537d.tar.gz rails-79b6a259168caa573e0c96fc0c115c13ab17537d.tar.bz2 rails-79b6a259168caa573e0c96fc0c115c13ab17537d.zip |
Merge pull request #27400 from kamipo/remove_useless_test_supports_primary_key
Remove useless `test_supports_primary_key`
-rw-r--r-- | activerecord/test/cases/primary_keys_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/primary_keys_test.rb b/activerecord/test/cases/primary_keys_test.rb index b434f4a6b6..1d72899102 100644 --- a/activerecord/test/cases/primary_keys_test.rb +++ b/activerecord/test/cases/primary_keys_test.rb @@ -129,12 +129,6 @@ class PrimaryKeysTest < ActiveRecord::TestCase assert_nothing_raised { MixedCaseMonkey.find(1).destroy } end - def test_supports_primary_key - assert_nothing_raised do - ActiveRecord::Base.connection.supports_primary_key? - end - end - if ActiveRecord::Base.connection.supports_primary_key? def test_primary_key_returns_value_if_it_exists klass = Class.new(ActiveRecord::Base) do |