Sha256: 2a91d22a865c4aafc7673ce52a351c5a8e3992fac54f0a321dc493439de3763d

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

desc 'Alias to spec:spec'
task :spec => 'spec:spec'

namespace :spec do
#  require 'spec/rake/spectask'
  require 'rspec/core/rake_task'

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:spec){|task|}

  desc "Run specs with RCov"
  RSpec::Core::RakeTask.new(:rcov) do |t|
    t.rcov = true
    t.rcov_opts = ['--exclude', 'spec']
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
my_scripts-0.1.15 tasks/spec.rake
my_scripts-0.1.14 tasks/spec.rake
my_scripts-0.1.13 tasks/spec.rake