class Spec::Matchers::Have

def method_missing(sym, *args, &block)

def method_missing(sym, *args, &block)
  @collection_name = sym
  if inflector = (defined?(ActiveSupport::Inflector) ? ActiveSupport::Inflector : (defined?(Inflector) ? Inflector : nil))
    @plural_collection_name = inflector.pluralize(sym.to_s)
  end
  @args = args
  @block = block
  self
end