Sha256: 090a38d78b4f0aeec864816ae99238d2bdfac4c746b9def9ad2392758e79b706

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 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, 0)
        @io.string.should == ""      
    end
end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-1.0.0 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.1 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.2 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.3 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.4 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb