| also comit the fixed spec... - reportable - Fork of reportable required by WarV… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit d396da54b9c7a502cb44117668731f896deb9575 | |
| parent bd08bb88bd992a5a86434d5b6c5e2509484acbc1 | |
| Author: Marco Otte-Witte <[email protected]> | |
| Date: Sun, 18 Apr 2010 18:34:28 +0200 | |
| also comit the fixed spec... | |
| Diffstat: | |
| M spec/other/sparkline_tag_helper_sp… | 12 ++++++------ | |
| 1 file changed, 6 insertions(+), 6 deletions(-) | |
| --- | |
| diff --git a/spec/other/sparkline_tag_helper_spec.rb b/spec/other/sparkline_tag… | |
| @@ -6,7 +6,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| @helper = TestHelper.new | |
| end | |
| - describe '#sparkline_tag' do | |
| + describe '#report_tag' do | |
| it 'should render an image with the correct source' do | |
| @helper.should_receive(:image_tag).once.with( | |
| @@ -14,7 +14,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| { :title => '', :alt => '' } | |
| ) | |
| - @helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi… | |
| + @helper.report_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTime.… | |
| end | |
| it 'should add parameters for labels to the source of the image if renderi… | |
| @@ -23,7 +23,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| { :title => '', :alt => '' } | |
| ) | |
| - @helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi… | |
| + @helper.report_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTime.… | |
| end | |
| it 'should set the parameters for custom colors if custom colors are speci… | |
| @@ -32,7 +32,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| { :title => '', :alt => '' } | |
| ) | |
| - @helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi… | |
| + @helper.report_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTime.… | |
| end | |
| it 'should set the parameters for a custom title if a title specified' do | |
| @@ -41,7 +41,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| { :title => 'title', :alt => '' } | |
| ) | |
| - @helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi… | |
| + @helper.report_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTime.… | |
| end | |
| it 'should use a specified alt text as alt text for the image' do | |
| @@ -50,7 +50,7 @@ describe Saulabs::Reportable::ReportTagHelper do | |
| { :title => '', :alt => 'alt' } | |
| ) | |
| - @helper.sparkline_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTi… | |
| + @helper.report_tag([[DateTime.now, 1.0], [DateTime.now, 2.0], [DateTime.… | |
| end | |
| end |