Sha256: 82d9ff66387cf9a1f427e8c7cc6cadb49fe5139685b8b008406cda0faf0166fa
Contents?: true
Size: 661 Bytes
Versions: 6
Compression:
Stored size: 661 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require File.dirname(__FILE__) + '/../../ruby_forker' describe "The bin/spec script" do include RubyForker it "should have no warnings" do pending "Hangs on JRuby" if RUBY_PLATFORM =~ /java/ spec_path = "#{File.dirname(__FILE__)}/../../../bin/spec" output = ruby "-w #{spec_path} --help 2>&1" output.should_not =~ /warning/n end it "should show the help w/ no args" do pending "Hangs on JRuby" if RUBY_PLATFORM =~ /java/ spec_path = "#{File.dirname(__FILE__)}/../../../bin/spec" output = ruby "-w #{spec_path} 2>&1" output.should =~ /^Usage: spec/ end end
Version data entries
6 entries across 6 versions & 2 rubygems