Sha256: 7527dd76479c706e80885174a43f7bd67a0cd297caa57afa8b858c56a12473ca
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 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_nfs_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.1.dev | spec/plugin_spec.rb |