Sha256: b3247c00f7b33cb33c5f168801400b3429afaad665ad8fb2fe7bda23e0d3b787
Contents?: true
Size: 657 Bytes
Versions: 8
Compression:
Stored size: 657 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/ location = "#{File.dirname(__FILE__)}/../../../bin/spec" output = ruby "-w #{location} --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/ location = "#{File.dirname(__FILE__)}/../../../bin/spec" output = ruby "-w #{location} 2>&1" output.should =~ /^Usage: spec/ end end
Version data entries
8 entries across 8 versions & 1 rubygems