class Shoulda::ActiveRecord::Matchers::HaveIndexMatcher

def index_exists?

def index_exists?
  ! matched_index.nil?
end