Sha256: e55a984d877066f214f9e967bf012b9a2c525d68ea6863b1e493489193c9b724
Contents?: true
Size: 848 Bytes
Versions: 9
Compression:
Stored size: 848 Bytes
Contents
require 'spec_helper' require 'chef/provisioning/fog_driver/providers/scaleway' describe Chef::Provisioning::FogDriver::Providers::Scaleway do subject do Chef::Provisioning::FogDriver::Driver.from_provider( 'Scaleway', driver_options: { compute_options: { scaleway_organization: 'org', scaleway_token: 'key'} } ) end it "returns the correct driver" do expect(subject).to be_an_instance_of Chef::Provisioning::FogDriver::Providers::Scaleway end it "has a Fog backend" do pending unless Fog.mock? expect(subject.compute).to be_an_instance_of Fog::Scaleway::Compute::Mock end describe '#creator' do it 'returns the organization' do expect(subject.creator).to eq 'org' end end end
Version data entries
9 entries across 9 versions & 1 rubygems