1
0
Fork 0
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:
Prathamesh Sonpatki 2016-07-16 15:16:50 +05:30
parent 4860fcc522
commit 4c9f8ff10f
No known key found for this signature in database
GPG key ID: 8B90F6B89E2BCB71

View file

@ -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