spec/mpfr/arithmetic_spec.rb in ruby-mpfr-0.0.14 vs spec/mpfr/arithmetic_spec.rb in ruby-mpfr-0.0.15
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path(File.dirname(__FILE__)) + '/spec_helper.rb'
+require File.expand_path(File.join(File.dirname(__FILE__), "../spec_helper.rb"))
MPFR.set_default_prec(256)
def check_arithmetic_op(arg_ary, error, &block)
ruby_res = yield(*arg_ary)