| Fix bad spec expectation. - reportable - Fork of reportable required by WarVox,… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 9bd4451d4420cd09a74d7e857f3b6856e45cd8b3 | |
| parent 32488a35a713dbd7e83777333f856ff0744185e5 | |
| Author: Dieter Komendera <[email protected]> | |
| Date: Wed, 1 Feb 2012 11:23:10 +0100 | |
| Fix bad spec expectation. | |
| Diffstat: | |
| M spec/classes/report_cache_spec.rb | 3 +-- | |
| 1 file changed, 1 insertion(+), 2 deletions(-) | |
| --- | |
| diff --git a/spec/classes/report_cache_spec.rb b/spec/classes/report_cache_spec… | |
| @@ -248,8 +248,7 @@ describe Saulabs::Reportable::ReportCache do | |
| it "should read existing data from the cache for the correct grouping if o… | |
| grouping = Saulabs::Reportable::Grouping.new(:month) | |
| - Saulabs::Reportable::ReportCache.should_receive(:find).once.with( | |
| - :all, | |
| + Saulabs::Reportable::ReportCache.should_receive(:all).once.with( | |
| :conditions => [ | |
| %w(model_name report_name grouping aggregation conditions).map do |c… | |
| "#{Saulabs::Reportable::ReportCache.connection.quote_column_name(c… |