Sha256: 880c3e011c3fd7017087e10ce70853d3c79edd3081e05af36eb7c821bde86fbd
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
require 'spec_helper' require 'vagrant-guests-solaris11/plugin' require 'vagrant-guests-solaris11/cap/change_host_name' require 'vagrant-guests-solaris11/cap/configure_networks' require 'vagrant-guests-solaris11/cap/halt' require 'vagrant-guests-solaris11/cap/mount_virtualbox_shared_folder' #require 'vagrant-guests-solaris11/cap/mount_nfs_folder' describe VagrantPlugins::GuestSolaris11::Plugin do [:solaris11].each do |os| it "should be loaded with #{os}" do expect(described_class.components.guests[os].first).to eq(VagrantPlugins::GuestSolaris11::Guest) end { :halt => VagrantPlugins::GuestSolaris11::Cap::Halt, :change_host_name => VagrantPlugins::GuestSolaris11::Cap::ChangeHostName, :configure_networks => VagrantPlugins::GuestSolaris11::Cap::ConfigureNetworks, :mount_virtualbox_shared_folder => VagrantPlugins::GuestSolaris11::Cap::MountVirtualBoxSharedFolder, #:mount_nfs_folder => VagrantPlugins::GuestSolaris11::Cap::MountNFSFolder, }.each do |cap, cls| it "should be capable of #{cap} with #{os}" do expect(described_class.components.guest_capabilities[os][cap]) .to eq(cls) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-guests-solaris11-0.0.1a | spec/plugin_spec.rb |