Sha256: 0980143b6ed32c6eeac4937d854997665dfd067aad9044549f39023e041b04ad

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 Bytes

Contents

require 'vcloud/spec_helper'

if Fog.mocking?
  describe Fog::Vcloud, :type => :mock_vcloud_request do
    subject { Fog::Vcloud.new(:username => "foo", :password => "bar", :versions_uri => "https://fakey.com/api/versions") }

    it { should be_an_instance_of Fog::Vcloud::Mock }

    it { should respond_to :default_organization_uri }

    it { should respond_to :supported_versions }

    it { should have_at_least(1).supported_versions }

    its(:default_organization_uri) { should == @mock_organization.href }

  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
fog-0.5.2 spec/vcloud/vcloud_spec.rb
fog-0.5.1 spec/vcloud/vcloud_spec.rb
fog-0.5.0 spec/vcloud/vcloud_spec.rb
phpfog-fog-0.4.1.3 spec/vcloud/vcloud_spec.rb
phpfog-fog-0.4.1.2 spec/vcloud/vcloud_spec.rb
phpfog-fog-0.4.1.1 spec/vcloud/vcloud_spec.rb
phpfog-fog-0.4.1 spec/vcloud/vcloud_spec.rb
fog-0.4.1 spec/vcloud/vcloud_spec.rb