aboutsummaryrefslogtreecommitdiff
path: root/spec/classes
diff options
context:
space:
mode:
authorSimon Séhier <saimonn@users.noreply.github.com>2015-08-13 11:45:54 +0200
committerSimon Séhier <saimonn@users.noreply.github.com>2015-08-13 11:45:54 +0200
commit867724de4a3320496cdfa7e851587cabbf7dc0f3 (patch)
tree61e2e4d55fb71c47edc074e02158f8e904d7cd69 /spec/classes
parentb3771c83f8b420f108fea8b018738270b66be8e2 (diff)
parent62633f117aed4c062664d7bac5042936667286ba (diff)
downloadpuppet-dhcp-867724de4a3320496cdfa7e851587cabbf7dc0f3.tar.gz
puppet-dhcp-867724de4a3320496cdfa7e851587cabbf7dc0f3.tar.bz2
Merge pull request #13 from saimonn/deprecate/lenny/lucid
Deprecate/lenny/lucid and add jessie to metadata.json
Diffstat (limited to 'spec/classes')
-rw-r--r--spec/classes/dhcp_spec.rb16
1 files changed, 0 insertions, 16 deletions
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