mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
445 B
Ruby
18 lines
445 B
Ruby
require 'ecloud/spec_helper'
|
|
|
|
if Fog.mocking?
|
|
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
|
subject { @vcloud }
|
|
|
|
it { should be_an_instance_of(Fog::Compute::Ecloud::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
|