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:
parent
d43ccd2515
commit
865b2afddd
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue