changeset 16: | 01fd3f10ae84 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:13:18 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec_on_rails |
1require File.dirname(__FILE__) + '/../spec_helper'23describe "script/spec file" do4 it "should run a spec" do5 dir = File.dirname(__FILE__)6 output = `#{RAILS_ROOT}/script/spec #{dir}/sample_spec.rb`7 unless $?.exitstatus == 08 flunk "command 'script/spec spec/sample_spec' failed\n#{output}"9 end10 end11end