adding all of botlist, initial add
[botlist.git] / openbotlist / WEB-INF / lib / ruby / rspec / spec / spec / runner / output_one_time_spec.rb
blob8f67a380aa23b99892cbd68b887e2cf8ba3e1e96
1 require File.dirname(__FILE__) + '/../../spec_helper.rb'
3 module Spec
4   module Runner
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")
12         end
13       end
14     end
15   end
16 end