1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix loading/naming of shared tests

This commit is contained in:
geemus 2011-01-03 11:28:16 -08:00
parent 5f3c6e55d5
commit bb007dbd75
6 changed files with 1 additions and 14 deletions

View file

@ -1,20 +1,7 @@
require File.join(File.dirname(__FILE__), '..', 'lib', 'fog') require File.join(File.dirname(__FILE__), '..', 'lib', 'fog')
require 'fog/core/bin' require 'fog/core/bin'
__DIR__ = File.dirname(__FILE__) # Use so you can run in mock mode from the command line
$LOAD_PATH.unshift __DIR__ unless
$LOAD_PATH.include?(__DIR__) ||
$LOAD_PATH.include?(File.expand_path(__DIR__))
require 'helpers/collection_tests'
require 'helpers/model_tests'
require 'helpers/compute/flavors_tests'
require 'helpers/compute/server_tests'
require 'helpers/compute/servers_tests'
# Use so you can run in mock mode from the command line:
# #
# FOG_MOCK=true fog # FOG_MOCK=true fog