Sha256: 33ed539c356ee00f2cc8ed31fb2593b0854055b49b603a772bc672c8b6430c71

Contents?: true

Size: 518 Bytes

Versions: 12

Compression:

Stored size: 518 Bytes

Contents

require 'minitest_helper'

describe "#builtin_templates" do
  let(:connection) do
    VCR.use_cassette('open_connection') do
      Fog::Compute.new(:provider => 'XenServer',
                       :xenserver_url => '192.168.10.2',
                       :xenserver_username => 'root',
                       :xenserver_password => '123456')
    end
  end

  it "should return all builtin templates" do
    VCR.use_cassette('builtin_templates') do
      connection.builtin_templates.size.must_equal 63
    end
  end
end

Version data entries

12 entries across 10 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-xenserver-0.3.0/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-xenserver-0.3.0/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-xenserver-0.3.0/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.3.0 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.2.3 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.2.2 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.2.1 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.2.0 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.1.2 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.1.1 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.1.0 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
fog-xenserver-0.0.1.beta2 spec/fog/compute/xen_server/requests/builtin_templates_spec.rb