Sha256: 0f436a2b690a88b89bfc391874b838a2409b35ad9d175c3c3c842321d54a499e
Contents?: true
Size: 458 Bytes
Versions: 60
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' require 'facter' require 'facter/util/partitions' describe 'Facter::Util::Partitions' do describe 'on unsupported OSs' do before :each do Facter.fact(:kernel).stubs(:value).returns("SunOS") end it 'list should return empty array' do Facter::Util::Partitions.list.should == [] end it 'available? should return false' do Facter::Util::Partitions.available?.should == false end end end
Version data entries
60 entries across 60 versions & 1 rubygems