Fix bad spec expectation. - reportable - Fork of reportable required by WarVox, from hdm/reportable.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 9bd4451d4420cd09a74d7e857f3b6856e45cd8b3
 (DIR) parent 32488a35a713dbd7e83777333f856ff0744185e5
 (HTM) Author: Dieter Komendera <dieter@komendera.com>
       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(-)
       ---
 (DIR) diff --git a/spec/classes/report_cache_spec.rb b/spec/classes/report_cache_spec.rb
       @@ -248,8 +248,7 @@ describe Saulabs::Reportable::ReportCache do
        
            it "should read existing data from the cache for the correct grouping if one other than the report's default grouping is specified" do
              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 |column_name|
                    "#{Saulabs::Reportable::ReportCache.connection.quote_column_name(column_name)} = ?"