1 require File.dirname(__FILE__) + '/../../spec_helper.rb'
5 describe CommandLine do
6 it "should not output twice" do
7 dir = File.dirname(__FILE__)
8 Dir.chdir("#{dir}/../../..") do
9 output =`ruby #{dir}/output_one_time_fixture_runner.rb`
10 output.should include("1 example, 0 failures")
11 output.should_not include("0 examples, 0 failures")