Sha256: 37f51135f2e047ea446180edff0910f5ca054ed8fb0d7aee93aa57aa8dbbb8ad
Contents?: true
Size: 1.01 KB
Versions: 6
Compression:
Stored size: 1.01 KB
Contents
require 'vagrant-vyos/guest' require 'vagrant-vyos/plugin' require 'vagrant-vyos/cap/change_host_name' require 'vagrant-vyos/cap/configure_networks' require 'vagrant-vyos/cap/halt' require 'vagrant-vyos/cap/insert_public_key' require 'vagrant-vyos/cap/remove_public_key' describe VagrantPlugins::GuestVyOS::Plugin do it 'should be loaded with vyos' do p described_class.components.guests[:vyos].first expect(described_class.components.guests[:vyos].first).to eq(VagrantPlugins::GuestVyOS::Guest) end { change_host_name: VagrantPlugins::GuestVyOS::Cap::ChangeHostName, configure_networks: VagrantPlugins::GuestVyOS::Cap::ConfigureNetworks, halt: VagrantPlugins::GuestVyOS::Cap::Halt, insert_public_key: VagrantPlugins::GuestVyOS::Cap::InsertPublicKey, remove_public_key: VagrantPlugins::GuestVyOS::Cap::RemovePublicKey, }.each do |cap, cls| it "should be capable of #{cap} with vyos" do expect(described_class.components.guest_capabilities[:vyos][cap]) .to eq(cls) end end end
Version data entries
6 entries across 6 versions & 1 rubygems