spec/mpfr/constant_spec.rb in ruby-mpfr-0.0.7 vs spec/mpfr/constant_spec.rb in ruby-mpfr-0.0.8
- old
+ new
@@ -1,11 +1,9 @@
-require File.dirname(__FILE__) + '/spec_helper.rb'
+require File.expand_path(File.dirname(__FILE__)) + '/spec_helper.rb'
describe MPFR, "when calling constant of MPFR" do
it "should be defined" do
MPFR::MPFR_VERSION.should be_true
- MPFR::MPFR_PATCHES.should be_true
- MPFR::MPFR_VERSION2.should be_true
MPFR::MPFR_VERSION_MAJOR.should be_true
MPFR::MPFR_VERSION_MINOR.should be_true
MPFR::MPFR_VERSION_PATCHLEVEL.should be_true
MPFR::MPFR_VERSION_STRING.should be_true
MPFR::PREC_MAX.should be_true