mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix a bunch of paths.
This commit is contained in:
parent
bc25028c2f
commit
0cc5773bf2
77 changed files with 83 additions and 82 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module Bluebox
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module GoGrid
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module Linode
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module Local
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
require 'fog/terremark/shared'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'nokogiri'
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'core')
|
||||
require 'fog/core'
|
||||
require 'fog/core/parser'
|
||||
|
||||
require 'builder'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Address' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Addresses' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::KeyPair' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::KeyPairs' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::SecurityGroup' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::SecurityGroups' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Server' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Snapshot' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Snapshots' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Volume' do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'Fog::AWS::Compute::Volumes' do
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
require 'spec'
|
||||
require 'open-uri'
|
||||
require 'fog'
|
||||
require 'fog/core/bin'
|
||||
require 'fog/vcloud/bin'
|
||||
require 'fog/bin'
|
||||
require 'fog/bin/vcloud'
|
||||
|
||||
if ENV["FOG_MOCK"] == "true"
|
||||
Fog.mock!
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/spec_helper'
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
describe Vcloud do
|
||||
it { should be_initialized }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Vdc", :type => :mock_vcloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_vcloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_vcloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
#
|
||||
# WARNING: INCOMPLETE
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
shared_examples_for "real or mock get_versions requests" do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
shared_examples_for "real or mock login requests" do
|
||||
subject { @vcloud }
|
||||
|
|
|
@ -19,13 +19,12 @@ end
|
|||
#Initialize this to a known seed
|
||||
srand 1234
|
||||
|
||||
current_directory = File.dirname(__FILE__)
|
||||
require "#{current_directory}/../../lib/fog"
|
||||
require "#{current_directory}/../../lib/fog/core/bin"
|
||||
require 'fog'
|
||||
require 'fog/bin'
|
||||
|
||||
Fog.mock! if ENV['FOG_MOCK']
|
||||
|
||||
require "#{current_directory}/../../lib/fog/vcloud/bin"
|
||||
require 'fog/bin/vcloud'
|
||||
|
||||
def arrayify(item)
|
||||
item.is_a?(Array) ? item : [ item ]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::BackupInternetService", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::InternetServices", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::InternetService", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::InternetServices", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Ip", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Ips", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Network", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Networks", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Node", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::InternetServices", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::PublicIp", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::PublicIps", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Vdc", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Vdc", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__),'..','..','..','spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud::Terremark::Ecloud::Vdcs", :type => :mock_tmrk_ecloud_model do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
#FIXME: with rspec2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
shared_examples_for "a successful configure vapp" do
|
||||
specify { after_vapp_data.should == new_vapp_data }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
#FIXME: Make this more sane with rspec2
|
||||
if Fog.mocking?
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
#FIXME: with rspec2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
shared_examples_for "a failed vapp deletion" do
|
||||
it "should not change the mock data" do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
shared_examples_for "a basic internet service" do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe "Fog::Vcloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_tmrk_ecloud_request do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/spec_helper'
|
||||
require 'vcloud/spec_helper'
|
||||
|
||||
if Fog.mocking?
|
||||
describe Fog::Vcloud, :type => :mock_vcloud_request do
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'lib', 'fog')
|
||||
require 'fog/core/bin'
|
||||
$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), %w[ .. lib fog]))
|
||||
|
||||
require 'fog'
|
||||
require 'fog/bin'
|
||||
|
||||
# Use so you can run in mock mode from the command line
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue