class Shoulda::Matchers::ActiveRecord::HaveDbIndexMatcher

def description

def description
  if @options.key?(:unique)
    "have a #{index_type} index on columns #{@columns.join(' and ')}"
  else
    "have an index on columns #{@columns.join(' and ')}"
  end
end