spec/line_spec.rb in rubyvis-0.2.1 vs spec/line_spec.rb in rubyvis-0.2.2
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__)+"/spec_helper.rb"
+require File.expand_path(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].inject({}) {|ac, v| ac[v]=true; ac}
Rubyvis::Line.properties.should==props
end
\ No newline at end of file