spec/line_spec.rb in rubyvis-0.2.0 vs spec/line_spec.rb in rubyvis-0.2.1

- old
+ new

@@ -1,9 +1,9 @@ require File.dirname(__FILE__)+"/spec_helper.rb" describe Rubyvis::Line do it "should have correct properties" do - props=[:antialias, :bottom, :cursor, :data, :eccentricity, :events, :fill_style, :id, :interpolate, :left, :line_join, :line_width, :reverse, :right, :segmented, :stroke_style, :tension, :title, :top, :visible] - Rubyvis::Line.properties.keys.sort.should==props + props=[:antialias, :bottom, :cursor, :data, :eccentricity, :events, :fill_style, :id, :interpolate, :left, :line_join, :line_width, :reverse, :right, :segmented, :stroke_style, :tension, :title, :top, :visible].inject({}) {|ac, v| ac[v]=true; ac} + Rubyvis::Line.properties.should==props end context "rendered" do before do @h=200 @w=200 \ No newline at end of file