Sha256: dd9d707a1ba2a4315e2b6b971a265f69c6cc12705823cee97d10ceb2feeefcbf
Contents?: true
Size: 328 Bytes
Versions: 35
Compression:
Stored size: 328 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
35 entries across 35 versions & 5 rubygems