Introduction
Introduction Statistics Contact Development Disclaimer Help
require 'active_record' in spec/boot.rb to get rid of deprecation warning; fixe…
Log
Files
Refs
README
---
commit 9a773ed89e67bad8f154c4aa2b261eda45dcfa37
parent 915e4799ef51997835a38be511f0366edd2053e3
Author: Marco Otte-Witte <[email protected]>
Date: Sat, 2 Jan 2010 11:37:07 +0100
require 'active_record' in spec/boot.rb to get rid of deprecation warning; fixe…
Diffstat:
M spec/boot.rb | 2 +-
M spec/other/sparkline_tag_helper_sp… | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/spec/boot.rb b/spec/boot.rb
@@ -1,7 +1,7 @@
plugin_root = File.join(File.dirname(__FILE__), '..')
gem 'rails'
-require 'activerecord'
+require 'active_record'
require 'active_support'
require 'action_controller'
require 'action_view'
diff --git a/spec/other/sparkline_tag_helper_spec.rb b/spec/other/sparkline_tag…
@@ -10,7 +10,8 @@ describe Simplabs::ReportsAsSparkline::SparklineTagHelper do
it 'should render an image with the correct source' do
@helper.should_receive(:image_tag).once.with(
- 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ { :title => '', :alt => '' }
)
@helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi…
@@ -18,7 +19,8 @@ describe Simplabs::ReportsAsSparkline::SparklineTagHelper do
it 'should add parameters for labels to the source of the image if renderi…
@helper.should_receive(:image_tag).once.with(
- 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ { :title => '', :alt => '' }
)
@helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi…
@@ -26,7 +28,8 @@ describe Simplabs::ReportsAsSparkline::SparklineTagHelper do
it 'should set the parameters for custom colors if custom colors are speci…
@helper.should_receive(:image_tag).once.with(
- 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ 'http://chart.apis.google.com/chart?cht=ls&chs=300x34&chd=t:1.0,2.0,3.…
+ { :title => '', :alt => '' }
)
@helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi…
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.