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

FOG_MOCK to Fog.mock!

This commit is contained in:
Simon Rozet 2010-04-27 07:03:55 +08:00 committed by Wesley Beary
parent d43ccd2515
commit 865b2afddd

View file

@ -4,7 +4,10 @@ require 'open-uri'
current_directory = File.dirname(__FILE__)
require "#{current_directory}/../lib/fog"
require "#{current_directory}/../lib/fog/bin"
# Fog.mock!
if ENV["FOG_MOCK"] == "true"
Fog.mock!
end
unless defined?(LOADED_SPEC_OPTS)
# inlined spec.opts