Sha256: e801dd8bfbeeaada371ca1458113ab3f81d8f16a5e1eb1cc6836dd6a5e8040f8

Contents?: true

Size: 798 Bytes

Versions: 30

Compression:

Stored size: 798 Bytes

Contents

require "spec_helper"
require "fog/bin"

describe Fog do
  describe "#providers" do
    it "includes existing providers" do
      assert_equal "Ovirt", Fog.providers[:ovirt]
    end
  end

  describe "#registered_providers" do
    it "includes existing providers" do
      assert_includes Fog.registered_providers, "Ovirt"
    end
  end

  describe "#available_providers" do
    it "includes existing providers" do
      assert_includes Fog.available_providers, "Ovirt" if Ovirt.available?
    end
  end

  describe "#services" do
    it "returns Hash of services" do
      assert_kind_of Hash, Fog.services
      assert_includes Fog.services, :cdn
      assert_includes Fog.services, :compute
      assert_includes Fog.services, :dns
      assert_includes Fog.services, :storage
    end
  end
end

Version data entries

30 entries across 28 versions & 2 rubygems

Version Path
fog-ovirt-2.0.3 spec/fog/bin_spec.rb
fog-ovirt-2.0.2 spec/fog/bin_spec.rb
fog-ovirt-2.0.1 spec/fog/bin_spec.rb
fog-ovirt-2.0.0 spec/fog/bin_spec.rb
fog-ovirt-1.2.5 spec/fog/bin_spec.rb
fog-ovirt-1.2.4 spec/fog/bin_spec.rb
fog-ovirt-1.2.3 spec/fog/bin_spec.rb
fog-ovirt-1.2.2 spec/fog/bin_spec.rb
fog-ovirt-1.2.1 spec/fog/bin_spec.rb
fog-ovirt-1.2.0 spec/fog/bin_spec.rb
fog-ovirt-1.1.6 spec/fog/bin_spec.rb
fog-ovirt-1.1.5 spec/fog/bin_spec.rb
fog-ovirt-1.1.4 spec/fog/bin_spec.rb
fog-ovirt-1.1.3 spec/fog/bin_spec.rb
fog-ovirt-1.1.2 spec/fog/bin_spec.rb
fog-ovirt-1.1.1 spec/fog/bin_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ovirt-1.1.0/spec/fog/bin_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ovirt-1.1.0/spec/fog/bin_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ovirt-1.1.0/spec/fog/bin_spec.rb
fog-ovirt-1.1.0 spec/fog/bin_spec.rb