Sha256: 0db288ae2214fe0ebc4c2f4ec67a27ee17d6f1a4672a78135c8daf65a1c391af

Contents?: true

Size: 453 Bytes

Versions: 94

Compression:

Stored size: 453 Bytes

Contents

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

module Spec
  module Runner
    describe CommandLine do
      it "should not output twice" do
        dir = File.dirname(__FILE__)
        Dir.chdir("#{dir}/../../..") do
          output =`ruby #{dir}/output_one_time_fixture_runner.rb`
          output.should include("1 example, 0 failures")
          output.should_not include("0 examples, 0 failures")
        end
      end
    end
  end
end

Version data entries

94 entries across 94 versions & 12 rubygems

Version Path
dchelimsky-rspec-1.1.10 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.1 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.2 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.3 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.4 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.5 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.6 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11.7 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.11 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.12 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.1 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.13 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.2 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.3 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.4 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.5 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.6 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.7 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.8 spec/spec/runner/output_one_time_spec.rb
dchelimsky-rspec-1.1.99.9 spec/spec/runner/output_one_time_spec.rb