Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed specs - reportable - Fork of reportable required by WarVox, from hdm/repo…
Log
Files
Refs
README
---
commit 1eb9f194bfcff7505457cae1f2496c0fb0816893
parent 51b49004e197edbced94eb626c6eed58cc7a4e72
Author: Marco Otte-Witte <[email protected]>
Date: Sat, 2 Jan 2010 11:33:10 +0100
fixed specs
Diffstat:
M spec/classes/report_spec.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/spec/classes/report_spec.rb b/spec/classes/report_spec.rb
@@ -3,9 +3,9 @@ require File.join(File.dirname(__FILE__), '..', 'spec_helper')
describe Simplabs::ReportsAsSparkline::Report do
before do
- @now = DateTime.now
- DateTime.stub!(:now).and_return(@now)
@report = Simplabs::ReportsAsSparkline::Report.new(User, :registrations)
+ @now = Time.now
+ DateTime.stub!(:now).and_return(@now)
end
describe '#options' 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.