Sha256: 2eca2c6feff3bf5f860584398c4c3337e632908131e94fba0c05f5caf5958a12

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

spec_defaults = lambda do |spec|
  spec.pattern    = 'spec/**/*_spec.rb'
  spec.libs      << 'lib' << 'spec'
  spec.spec_opts << '--options' << 'spec/spec.opts'
end

begin
  require 'spec/rake/spectask'

  Spec::Rake::SpecTask.new(:spec, &spec_defaults)
rescue LoadError
  task :spec do
    abort 'rspec is not available. In order to run spec, you must: gem install rspec'
  end
end

task :default => :spec

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ardm-core-1.3.0 tasks/spec.rake
ardm-rails-1.3.1 tasks/spec.rake
ardm-rails-1.3.0 tasks/spec.rake
ardm-rails-1.2.1 tasks/spec.rake