lib/coverband/reporters/web.rb in coverband-3.0.1 vs lib/coverband/reporters/web.rb in coverband-4.0.0.alpha
- old
+ new
@@ -91,10 +91,10 @@
notice = 'coverband coverage updated'
[301, { 'Location' => "#{base_path}?notice=#{notice}" }, []]
end
def collect_coverage
- Coverband::Collectors::Coverage.instance.report_coverage
+ Coverband::Collectors::Coverage.instance.report_coverage(true)
notice = 'coverband coverage collected'
[301, { 'Location' => "#{base_path}?notice=#{notice}" }, []]
end
def clear