diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-03 07:35:54 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-04 08:48:59 +0900 |
commit | 457e6c77d421a36b763441a2c262f580114a20d5 (patch) | |
tree | e34cbfb2fe58f207d59aade9352d1a1162aea4fc /activerecord/test/cases/adapters/sqlite3 | |
parent | 032fe34803233d242927873b5559b4efc5ca215a (diff) | |
download | rails-457e6c77d421a36b763441a2c262f580114a20d5.tar.gz rails-457e6c77d421a36b763441a2c262f580114a20d5.tar.bz2 rails-457e6c77d421a36b763441a2c262f580114a20d5.zip |
Deprecate passing `name` to `indexes` like `tables`
Passing `name` to `tables` is already deprecated at #21601.
Passing `name` to `indexes` is also unused.
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb index a6109348cc..a6afb7816b 100644 --- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb @@ -287,7 +287,7 @@ module ActiveRecord def test_indexes_logs_name with_example_table do assert_logged [["PRAGMA index_list(\"ex\")", "SCHEMA", []]] do - @conn.indexes("ex", "hello") + assert_deprecated { @conn.indexes("ex", "hello") } end end end |