Remove unused test code - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 880e98fc581fd44bac7c4e9337a755be19c7ed24
(DIR) parent 828a1976432c7017be71df83bd475cced9940938
(HTM) Author: Cristi Balan <evil@che.lu>
Date: Fri, 21 Dec 2012 03:45:23 +0200
Remove unused test code
Diffstat:
M spec/classes/report_cache_spec.rb | 4 ----
1 file changed, 0 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/spec/classes/report_cache_spec.rb b/spec/classes/report_cache_spec.rb
@@ -136,10 +136,6 @@ describe Saulabs::Reportable::ReportCache do
end
it 'should yield the first reporting period if not all required data could be retrieved from the cache' do
- reporting_period = Saulabs::Reportable::ReportingPeriod.new(
- @report.options[:grouping],
- Time.now - 3.send(@report.options[:grouping].identifier)
- )
Saulabs::Reportable::ReportCache.stub!(:all).and_return([Saulabs::Reportable::ReportCache.new])
Saulabs::Reportable::ReportCache.process(@report, @options) do |begin_at, end_at|