Update load pathf or specs
This commit is contained in:
1 parent
d47e96c572
commit
017e2c4c1d
1 file changed
+2
@@ -16,11 +16,13 @@ SPEC_DIR = File.expand_path(File.dirname(__FILE__))
|
||||
ROOT_DIR = File.expand_path(File.join(SPEC_DIR, '..'))
|
||||
LIB_DIR = File.expand_path(File.join(ROOT_DIR, 'lib'))
|
||||
GENERATED_DIR = File.expand_path(File.join(ROOT_DIR, 'generated'))
|
||||
THIRD_PARTY_DIR = File.expand_path(File.join(ROOT_DIR, 'third_party'))
|
||||
FIXTURES_DIR = File.expand_path(File.join(SPEC_DIR, 'fixtures'))
|
||||
|
||||
$LOAD_PATH.unshift(SPEC_DIR)
|
||||
$LOAD_PATH.unshift(LIB_DIR)
|
||||
$LOAD_PATH.unshift(GENERATED_DIR)
|
||||
$LOAD_PATH.unshift(THIRD_PARTY_DIR)
|
||||
$LOAD_PATH.uniq!
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user