test/support/custom_assertions.rb
def refute_collection_proxy(klass, collection)
    refute collection_proxy(klass, collection),
      """
      Expected collection #{ collection.inspect } to not be a
      #{ collection_proxy_class_for(klass) }, but it was.
      """
  end
#
#  Fails if +obj is a collection proxy for +class
#
Fails if +obj is a collection proxy for +class
Fails if + obj is a collection proxy for + class
def refute_collection_proxy(klass, collection)
    refute collection_proxy(klass, collection),
      """
      Expected collection #{ collection.inspect } to not be a
      #{ collection_proxy_class_for(klass) }, but it was.
      """
  end
def refute_collection_proxy ( klass , collection ) refute collection_proxy ( klass , collection ) , "" "
      Expected collection #{ collection.inspect } to not be a
      #{ collection_proxy_class_for(klass) }, but it was.
      " "" end
Fails if +obj is a collection proxy for +class
Fails if + obj is a collection proxy for + class
klass
collection