spec/bar_spec.rb in rubyvis-0.2.1 vs spec/bar_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::Bar do
it "should have correct properties" do
props=[:antialias, :bottom, :cursor, :data, :events, :fill_style, :height, :id, :left, :line_width, :reverse, :right, :stroke_style, :title, :top, :visible, :width].inject({}) {|ac, v| ac[v]=true; ac}
Rubyvis::Bar.properties.should==props
end
\ No newline at end of file