mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
d48db03314
Purpose is to better abstract individual services
17 lines
457 B
Ruby
17 lines
457 B
Ruby
require 'spec_helper'
|
|
|
|
describe Fog::Vcloud do
|
|
subject { Fog::Vcloud.new() }
|
|
|
|
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 == URI.parse(@mock_organization[:info][:href]) }
|
|
its(:default_organization_uri) { should be_an_instance_of URI::HTTPS }
|
|
|
|
end
|