summaryrefslogtreecommitdiff
path: root/rubocop/cop/migration/add_concurrent_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/migration/add_concurrent_index.rb')
-rw-r--r--rubocop/cop/migration/add_concurrent_index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_concurrent_index.rb b/rubocop/cop/migration/add_concurrent_index.rb
index 332fb7dcbd7..69852f4d580 100644
--- a/rubocop/cop/migration/add_concurrent_index.rb
+++ b/rubocop/cop/migration/add_concurrent_index.rb
@@ -9,7 +9,7 @@ module RuboCop
include MigrationHelpers
MSG = '`add_concurrent_index` is not reversible so you must manually define ' \
- 'the `up` and `down` methods in your migration class, using `remove_index` in `down`'.freeze
+ 'the `up` and `down` methods in your migration class, using `remove_concurrent_index` in `down`'.freeze
def on_send(node)
return unless in_migration?(node)