X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ddd5b4cf19a92582fd114914be5bd5a04d3522a7..3f607d565bc0e2c7b1b738301c11c16d069913d5:/vendor/gems/rspec-1.1.2/spec/spec/package/bin_spec_spec.rb diff --git a/vendor/gems/rspec-1.1.2/spec/spec/package/bin_spec_spec.rb b/vendor/gems/rspec-1.1.2/spec/spec/package/bin_spec_spec.rb new file mode 100644 index 000000000..44bfd96a0 --- /dev/null +++ b/vendor/gems/rspec-1.1.2/spec/spec/package/bin_spec_spec.rb @@ -0,0 +1,14 @@ +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 PLATFORM =~ /java/ + spec_path = "#{File.dirname(__FILE__)}/../../../bin/spec" + + output = ruby "-w #{spec_path} --help 2>&1" + output.should_not =~ /warning/n + end +end