- expect(subject.resources.size).to eq(4)
- end
-
- describe "With unknown lsbdistid" do
-
- let(:facts) { { :lsbdistid => 'CentOS', :osfamily => 'Debian' } }
- let (:title) { 'my_package' }
-
- it do
- expect {
- is_expected.to compile
- }.to raise_error(Puppet::Error, /Unsupported lsbdistid/)
- end
-