spec/mpfr/comparison_spec.rb in ruby-mpfr-0.0.7 vs spec/mpfr/comparison_spec.rb in ruby-mpfr-0.0.8
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + '/spec_helper.rb'
+require File.expand_path(File.dirname(__FILE__)) + '/spec_helper.rb'
MPFR.set_default_prec(256)
def check_comparison(a, b)
((a < b) == (MPFR.new(a) < MPFR.new(b))).should be_true