Sha256: a3ea8a6a213eb8f8cad4b4c978ce181b6c72e238e4394a9e67dea2ac4c74491c

Contents?: true

Size: 498 Bytes

Versions: 4

Compression:

Stored size: 498 Bytes

Contents

require 'rake'
require 'spec/rake/spectask'

namespace :spec do 
  desc "Run all rspec with RCov"
  Spec::Rake::SpecTask.new(:rcov) do |t|

    t.spec_files = FileList['spec/**/*_spec.rb']
    t.rcov = true
    t.rcov_opts = ['--exclude', '"spec/*,gems/*"', '--rails']
  end

  desc "Run all specs in spec directory (excluding plugin specs)"
  Spec::Rake::SpecTask.new(:fancy) do |t|
    t.spec_opts = ['--options', "\"spec/spec.opts\""]
    t.spec_files = FileList['spec/**/*_spec.rb']
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
wvanbergen-request-log-analyzer-1.2.3 tasks/rspec.rake
wvanbergen-request-log-analyzer-1.2.4 tasks/rspec.rake
wvanbergen-request-log-analyzer-1.2.5 tasks/rspec.rake
request-log-analyzer-1.2.3 tasks/rspec.rake