1 require File.dirname(__FILE__) + '/../../spec_helper'
 
   2 require File.dirname(__FILE__) + '/../../ruby_forker'
 
   4 describe "The bin/spec script" do
 
   7   it "should have no warnings" do
 
   8     pending "Hangs on JRuby" if PLATFORM =~ /java/
 
   9     spec_path = "#{File.dirname(__FILE__)}/../../../bin/spec"
 
  11     output = ruby "-w #{spec_path} --help 2>&1"
 
  12     output.should_not =~ /warning/n