From 62633f117aed4c062664d7bac5042936667286ba Mon Sep 17 00:00:00 2001 From: Simon Séhier Date: Thu, 13 Aug 2015 11:35:28 +0200 Subject: remove lenny & lucid support --- spec/classes/dhcp_spec.rb | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'spec/classes') diff --git a/spec/classes/dhcp_spec.rb b/spec/classes/dhcp_spec.rb index d11cf7c..ef2d43d 100644 --- a/spec/classes/dhcp_spec.rb +++ b/spec/classes/dhcp_spec.rb @@ -2,22 +2,6 @@ require 'spec_helper' describe 'dhcp' do - context 'when on an unsupported OS' do - let (:facts) { { - :operatingsystem => 'RedHat', - :osfamily => 'Redhat', - :lsbdistcodename => 'Santiago', - :id => 'root', - :path => '/foo/bar' - } } - - it 'should fail' do - expect { - should contain_package('dhcp-server') - }.to raise_error(Puppet::Error, /Unsupported OS RedHat\/Santiago/) - end - end - on_supported_os.each do |os, facts| context "on #{os}" do let(:facts) do -- cgit v1.2.3