Introduction
Introduction Statistics Contact Development Disclaimer Help
added exampled to report_spec.rb that asserts that the default options of repor…
Log
Files
Refs
README
---
commit a20b9eee3e4f42b987b0452c3b9c2552ff84c732
parent ef0e7538ed36be1760669e5dad94482ef4789418
Author: Marco Otte-Witte <[email protected]>
Date: Mon, 19 Jan 2009 13:25:46 +0100
added exampled to report_spec.rb that asserts that the default options of repor…
Diffstat:
M spec/classes/report_spec.rb | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
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
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.