spec/seer_spec.rb in seer-0.4.0 vs spec/seer_spec.rb in seer-0.5.0

- old
+ new

@@ -66,12 +66,12 @@ (Seer.send(:bar_chart, [0,1,2,3], :as => :bar_chart, :in_element => 'chart', :series => { - :label => 'to_s', - :data => 'size' + :series_label => 'to_s', + :data_method => 'size' }, :chart_options => {} ) =~ /barchart/).should be_true end @@ -79,12 +79,12 @@ (Seer.send(:column_chart, [0,1,2,3], :as => :column_chart, :in_element => 'chart', :series => { - :label => 'to_s', - :data => 'size' + :series_label => 'to_s', + :data_method => 'size' }, :chart_options => {} ) =~ /columnchart/).should be_true end @@ -92,11 +92,11 @@ (Seer.send(:gauge, [0,1,2,3], :as => :gauge, :in_element => 'chart', :series => { - :label => 'to_s', - :data => 'size' + :series_label => 'to_s', + :data_method => 'size' }, :chart_options => {} ) =~ /gauge/).should be_true end