added exampled to report_spec.rb that asserts that the default options of reports are frozen - reportable - Fork of reportable required by WarVox, from hdm/reportable.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit a20b9eee3e4f42b987b0452c3b9c2552ff84c732
 (DIR) parent ef0e7538ed36be1760669e5dad94482ef4789418
 (HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
       Date:   Mon, 19 Jan 2009 13:25:46 +0100
       
       added exampled to report_spec.rb that asserts that the default options of reports are frozen
       
       Diffstat:
         M spec/classes/report_spec.rb         |       8 ++++++++
       
       1 file changed, 8 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/spec/classes/report_spec.rb b/spec/classes/report_spec.rb
       @@ -6,6 +6,14 @@ describe Kvlr::ReportsAsSparkline::Report do
            @report = Kvlr::ReportsAsSparkline::Report.new(User, :registrations)
          end
        
       +  describe '#options' do
       +
       +    it 'should be frozen' do
       +      @report.options.should be_frozen
       +    end
       +
       +  end
       +
          describe '#run' do
        
            it 'should process the data with the report cache' do