[rspec-users] using rcov with rspec2

nathanvda nathanvda at gmail.com
Mon Sep 20 03:59:25 EDT 2010

I have using rcov together with rspec2 using the following rake task:

  desc  "Run all specs with rcov"
  RSpec::Core::RakeTask.new("test_cov") do |t|
    t.rcov = true
    t.rcov_opts = %w{--rails --include views --exclude gems\/,spec

but since the latest beta, this doesn't work anymore. Does anybody
have an idea what is going wrong?

The error i get is this:

`require': no such file to load -- spec_helper (LoadError)

More information about the rspec-users mailing list