spec/spec_helper.rb in dbf-2.0.13 vs spec/spec_helper.rb in dbf-3.0.0

- old
+ new

@@ -11,16 +11,9 @@ Encoding.default_external = "UTF-8" if defined?(Encoding) DB_PATH = File.dirname(__FILE__) + '/fixtures' unless defined?(DB_PATH) -if RUBY_VERSION == "1.8.6" - # warn 'ruby-1.8.6: defining Array#reduce as alias of Array#inject' - class Array - alias_method :reduce, :inject - end -end - RSpec.configure do |config| def ruby_supports_mathn? begin require 'mathn' rescue UnsupportedLibraryError