1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/vcloud/vcloud_spec.rb
Edward Muller d48db03314 Refactor Terremark into Vcloud
Purpose is to better abstract individual services
2010-05-10 20:37:03 -07:00

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