test/helper.rb in sportdb-config-0.9.0 vs test/helper.rb in sportdb-config-1.0.0
- old
+ new
@@ -1,13 +1,12 @@
-## $:.unshift(File.dirname(__FILE__))
+## note: use the local version of sportdb gems
+$LOAD_PATH.unshift( File.expand_path( '../sportdb-formats/lib' ))
## minitest setup
-
require 'minitest/autorun'
## our own code
-
require 'sportdb/config'
SportDb::Import.config.clubs_dir = '../../../openfootball/clubs'
SportDb::Import.config.leagues_dir = '../../../openfootball/leagues'