lib/tasks/coverage.rake in p8-metric_fu-0.8.4.14 vs lib/tasks/coverage.rake in p8-metric_fu-0.8.4.15

- old
+ new

@@ -18,10 +18,10 @@ task(:clean) { rm_f("rcov_tmp", :verbose => false) } desc "RCov task to generate report" Rcov::RcovTask.new(:do => :clean) do |t| FileUtils.mkdir_p(MetricFu::BASE_DIRECTORY) unless File.directory?(MetricFu::BASE_DIRECTORY) - t.test_files = FileList[*MetricFu.coverage_options[:test_files]] + t.test_files = FileList[*MetricFu.coverage[:test_files]] t.rcov_opts = ["--sort coverage", "--html", "--rails", "--exclude /gems/,/Library/"] t.output_dir = COVERAGE_DIR # this line is a fix for Rails 2.1 relative loading issues t.libs << 'test' end \ No newline at end of file