spec/scale_spec.rb in rubyvis-0.2.1 vs spec/scale_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::Scale do
it "should return a correct numeric interpolator" do
i=Rubyvis::Scale.interpolator(0,20)
i[10].should==200
i[20].should==400
\ No newline at end of file