changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/spec/spec/package/bin_spec_spec.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1require File.dirname(__FILE__) + '/../../spec_helper'
2require File.dirname(__FILE__) + '/../../ruby_forker'
3
4describe "The bin/spec script" do
5 include RubyForker
6
7 it "should have no warnings" do
8 pending "Hangs on JRuby" if PLATFORM =~ /java/
9 spec_path = "#{File.dirname(__FILE__)}/../../../bin/spec"
10
11 output = ruby "-w #{spec_path} --help 2>&1"
12 output.should_not =~ /warning/n
13 end
14end