mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix wrong test name
- Followup of https://github.com/rails/rails/pull/23179
This commit is contained in:
parent
4860fcc522
commit
4c9f8ff10f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module ActiveRecord
|
|||
assert_not index_exists?(table_name, :user_id)
|
||||
end
|
||||
|
||||
def test_create_reference_id_index_even_if_index_option_is_passed
|
||||
def test_create_reference_id_index_even_if_index_option_is_not_passed
|
||||
add_reference table_name, :user
|
||||
assert index_exists?(table_name, :user_id)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue