Sha256: 948117d3320c1e21c09b3a4ea77480f226ac74a236f57b5d9f2a5951d0eae20b
Contents?: true
Size: 325 Bytes
Versions: 65
Compression:
Stored size: 325 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "script/spec file" do it "should run a spec" do dir = File.dirname(__FILE__) output = `#{RAILS_ROOT}/script/spec #{dir}/sample_spec.rb` unless $?.exitstatus == 0 flunk "command 'script/spec spec/sample_spec' failed\n#{output}" end end end
Version data entries
65 entries across 65 versions & 11 rubygems