Sha256: b643b641ee6ac25b97ce9a2a67427c2585456a70cc30aeb832f5255c5cc10046
Contents?: true
Size: 523 Bytes
Versions: 2
Compression:
Stored size: 523 Bytes
Contents
require 'rubygems' require 'bacon' require File.join(File.dirname(__FILE__), 'includes') Bacon.extend(Bacon::TestUnitOutput) Bacon.summary_on_exit if ENV['MUTE_BACON'] == 'true' Bacon.extend(Module.new { def handle_requirement(description) unless (error = yield).empty? print error[0..0] end end def handle_summary puts "", " %d tests, %d assertions, %d failures, %d errors" % Bacon::Counter.values_at(:specifications, :requirements, :failed, :errors) end }) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cross-stub-0.2.4 | spec/spec_helper.rb |
cross-stub-0.2.3 | spec/spec_helper.rb |