diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-17 08:52:52 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-17 08:52:52 +0900 |
commit | 7f45c2d02a732cc724a021fd5907c1f00b7e1fe9 (patch) | |
tree | 6b2b8cd6a7ec57c1087df5c5db200a6640ebe30d /activerecord/test/cases | |
parent | 6dccceef9c888e7e8a2cdcd46cd896eff75d64d9 (diff) | |
download | rails-7f45c2d02a732cc724a021fd5907c1f00b7e1fe9.tar.gz rails-7f45c2d02a732cc724a021fd5907c1f00b7e1fe9.tar.bz2 rails-7f45c2d02a732cc724a021fd5907c1f00b7e1fe9.zip |
Add CHANGELOG entry for #27384 and #27762
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/primary_keys_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/primary_keys_test.rb b/activerecord/test/cases/primary_keys_test.rb index 98b9c91489..03c8644229 100644 --- a/activerecord/test/cases/primary_keys_test.rb +++ b/activerecord/test/cases/primary_keys_test.rb @@ -238,13 +238,13 @@ class PrimaryKeyWithAutoIncrementTest < ActiveRecord::TestCase @connection.drop_table(:auto_increments, if_exists: true) end - def test_primary_key_with_auto_increment - @connection.create_table(:auto_increments, id: :integer, auto_increment: true, force: true) + def test_primary_key_with_integer + @connection.create_table(:auto_increments, id: :integer, force: true) assert_auto_incremented end - def test_primary_key_with_auto_increment_and_bigint - @connection.create_table(:auto_increments, id: :bigint, auto_increment: true, force: true) + def test_primary_key_with_bigint + @connection.create_table(:auto_increments, id: :bigint, force: true) assert_auto_incremented end |