Sha256: d9674c7040f3494a664a601b32f0cb3343584d5a0678302ac5c3c0ca01505336
Contents?: true
Size: 506 Bytes
Versions: 3
Compression:
Stored size: 506 Bytes
Contents
require 'spec/runner/formatter/base_formatter' # This is just a slightly-refactored and cut down version of RSpec's # BaseTextFormatter. module Spackle::Spec class BaseFormatter < ::Spec::Runner::Formatter::BaseFormatter attr_reader :output, :options attr_accessor :errors def initialize(options, output) # we ignore output, for now Spackle.init @options = options self.errors = [] end def close Spackle.test_finished errors end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spackle-0.0.3 | lib/spackle/spec/base_formatter.rb |
spackle-0.0.2 | lib/spackle/spec/base_formatter.rb |
spackle-0.0.1 | lib/spackle/spec/base_formatter.rb |