Sha256: 8884c764eab1b83b066b7241ad59f89575929dce1bed45df05b379d63d0a5f40
Contents?: true
Size: 644 Bytes
Versions: 3
Compression:
Stored size: 644 Bytes
Contents
require 'mocha/integration/bacon/assertion_counter' module Mocha module Integration module Bacon module Version11AndAbove def self.included(base) base.class_eval do alias :it_before_bacon :it def it(description) it_before_bacon(description) do assertion_counter = ::Mocha::Integration::Bacon::AssertionCounter.new(::Bacon::Counter) mocha_setup yield mocha_verify(assertion_counter) mocha_teardown end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems