Sha256: 68cb8724228ba70dba6e85e3871739d28c093bca572db6e994bdbf58efe79104

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems'
  require 'spec'
end
begin
  require 'spec/rake/spectask'
rescue LoadError
  puts <<-EOS
To use rspec for testing you must install rspec gem:
    gem install rspec
EOS
  exit(0)
end

desc "Run the specs under spec"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "test/spec.opts"]
  t.spec_files = FileList['test/**/*_spec.rb']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trellis-0.0.1 tasks/rspec.rake