end
end
- test "unique uuid index exists on all models with the column uuid" do
+ test "unique uuid index exists on all models with the column uuid" do
tables = ActiveRecord::Base.connection.tables
tables.each do |table|
columns = ActiveRecord::Base.connection.columns(table)
search_index = indexes.select do |index|
index.columns == search_index_columns
end
- assert !search_index.empty?, "#{table} does not have search index with all searchable columns"
+ assert !search_index.empty?, "#{table} does not have search index with all searchable columns #{search_index_columns}"
end
end
end