Sha256: aad82dfc5468f11e521d9bdbf2a823c2779547ded547c43d0be8fe54f7c9516e

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

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

namespace :spec do
  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 |task|
    task.rcov = true
    task.rcov_opts = ['--exclude', 'spec']
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
win-0.3.27 tasks/spec.rake
win-0.3.26 tasks/spec.rake
win-0.3.25 tasks/spec.rake