spec/mpc/const_spec.rb in ruby-mpc-0.0.6 vs spec/mpc/const_spec.rb in ruby-mpc-0.0.7
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + '/spec_helper.rb'
+require File.join(File.dirname(__FILE__), "../spec_helper.rb")
describe MPC, "when returning constants" do
it "should have constants" do
constants = MPC.constants
[:RNDNN, :RNDNZ, :RNDNU, :RNDND, :RNDZN, :RNDZZ, :RNDZU, :RNDZD,