spec/spec_helper.rb in dm-serializer-0.9.8 vs spec/spec_helper.rb in dm-serializer-0.9.9

- old
+ new

@@ -1,12 +1,13 @@ require 'pathname' require 'rubygems' -gem 'dm-core', '~>0.9.8' +gem 'dm-core', '~>0.9.9' require 'dm-core' spec_dir_path = Pathname(__FILE__).dirname.expand_path -require spec_dir_path.parent + 'lib/dm-serializer' +$LOAD_PATH.unshift(spec_dir_path.parent + 'lib/') +require 'dm-serializer' def load_driver(name, default_uri) return false if ENV['ADAPTER'] != name.to_s begin