Sha256: 8d6cdd7e2e807eef6f7ec38aa52aa34498870469a50fc74b0fec25faa7d88359

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper.rb'

module Spec
module Runner
module Formatter
describe "RdocFormatterDryRun" do
    before(:each) do
        @io = StringIO.new
        @formatter = RdocFormatter.new(@io)
        @formatter.dry_run = true
    end
    it "should not produce summary on dry run" do
        @formatter.dump_summary(3, 2, 1)
        @io.string.should == ""      
    end
end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-0.9.0 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-0.9.1 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-0.9.2 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-0.9.3 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-0.9.4 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb