Permalink
Browse files

Merge pull request #27400 from kamipo/remove_useless_test_supports_pr…

…imary_key

Remove useless `test_supports_primary_key`
  • Loading branch information...
eileencodes committed Dec 19, 2016
2 parents 3582f58 + c472c80 commit 79b6a259168caa573e0c96fc0c115c13ab17537d
Showing with 0 additions and 6 deletions.
  1. +0 −6 activerecord/test/cases/primary_keys_test.rb
@@ -129,12 +129,6 @@ def test_instance_destroy_should_quote_pkey
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

0 comments on commit 79b6a25

Please sign in to comment.