Don't run tests only for grouping = :month - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 828a1976432c7017be71df83bd475cced9940938
(DIR) parent 30080afbe22a8edec5bf9ab5995dfe4a3c841b9a
(HTM) Author: Cristi Balan <evil@che.lu>
Date: Fri, 21 Dec 2012 03:44:21 +0200
Don't run tests only for grouping = :month
Diffstat:
M spec/classes/report_spec.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/spec/classes/report_spec.rb b/spec/classes/report_spec.rb
@@ -65,7 +65,8 @@ describe Saulabs::Reportable::Report do
@report.run.to_a.length.should == 11
end
- for grouping in [:hour, :day, :week, :month] do
+ %w(hour day week month).each do |grouping|
+ grouping = grouping.to_sym
describe "for grouping :#{grouping.to_s}" do