module RSpec::Matchers
def satisfy(&block)
@example
a custom matcher, which would likely make your specs more expressive.
If you do find yourself in such a situation, you could always write
specify.
you can't find any other way to specify the behaviour you wish to
Generally speaking, this should be thought of as a last resort when
block.
Passes if the submitted block returns true. Yields target to the
def satisfy(&block) BuiltIn::Satisfy.new(&block) end