class Shoulda::ActiveRecord::Matchers::HaveDbIndexMatcher

def index_exists?

def index_exists?
  ! matched_index.nil?
end