spec/gmp/rand_spec.rb in ruby-mpfr-0.0.14 vs spec/gmp/rand_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"))
describe MPFR, "when creating random number" do
before(:all) do
@prec = 200
MPFR.set_default_prec(@prec)