Sha256: 33f1f13fd694db6daee884f34d2cd02f82397b59f5349013a73674afb1608365

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 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

7 entries across 7 versions & 2 rubygems

Version Path
has_finder-0.1.1 spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.5 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.6 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.7 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb
rspec-1.0.8 spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb