spec/spec_helper.rb in dbf-2.0.3 vs spec/spec_helper.rb in dbf-2.0.4
- old
+ new
@@ -1,7 +1,8 @@
-$:.unshift(File.dirname(__FILE__) + '/../lib/')
require 'dbf'
require 'rspec'
+
+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'