class Bacon::Context

def it(description, &block)

def it(description, &block)
  it_before_mocha(description) do
    begin
      mocha_setup
      block.call
      mocha_verify(MochaRequirementsCounter)
    rescue Mocha::ExpectationError => e
      raise Error.new(:failed, e.message).tap {|ne| ne.set_backtrace(e.backtrace) }
    ensure
      mocha_teardown
    end
  end
end