Sha256: 92049612f83d16943f9aee0c5e0ce7887e2bdf57233d29ea72946a43bae5944a

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

require 'spec/rake/spectask'

namespace :rcov do
  Spec::Rake::SpecTask.new(:rspec) do |t|
    t.spec_opts = ['--options', "spec/spec.opts"]
    t.spec_files = FileList['spec/**/*_spec.rb']
    t.rcov = true
    t.rcov_opts = lambda do
      IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
kivanio-brcobranca-2.0.6 tasks/rcov.rake
tulios-brcobranca-rails2-2.0.10 tasks/rcov.rake
tulios-brcobranca-rails2-2.0.9 tasks/rcov.rake
tulios-brcobranca-rails2-2.0.8 tasks/rcov.rake
brcobranca-2.0.6 tasks/rcov.rake