spec/spec_helper.rb in dbf-1.7.8 vs spec/spec_helper.rb in dbf-2.0.0
- old
+ new
@@ -10,7 +10,13 @@
alias_method :reduce, :inject
end
end
RSpec.configure do |config|
-
+ def ruby_supports_mathn?
+ begin
+ require 'mathn'
+ rescue UnsupportedLibraryError
+ false
+ end
+ end
end