diff options
author | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-11-04 11:24:25 +0100 |
---|---|---|
committer | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-11-04 11:24:25 +0100 |
commit | b5ee63a48adbea3e50300e2c0c26c575ec1b5abb (patch) | |
tree | b5d4822f3c9c048064ab2f20cd70899aba0c16d1 /spec/defines/dhcp_subnet_spec.rb | |
parent | 3a974fea4562a9f2afc446b20ddc3fd221e4f8ed (diff) | |
parent | 4dbb5a09e23e56fc8ed7ff04fc1cfcdc17932786 (diff) | |
download | puppet-dhcp-b5ee63a48adbea3e50300e2c0c26c575ec1b5abb.tar.gz puppet-dhcp-b5ee63a48adbea3e50300e2c0c26c575ec1b5abb.tar.bz2 |
Merge pull request #16 from mcanevet/feature/acceptance
Add acceptance tests
Diffstat (limited to 'spec/defines/dhcp_subnet_spec.rb')
-rw-r--r-- | spec/defines/dhcp_subnet_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/defines/dhcp_subnet_spec.rb b/spec/defines/dhcp_subnet_spec.rb index b0f7ab7..f3ea284 100644 --- a/spec/defines/dhcp_subnet_spec.rb +++ b/spec/defines/dhcp_subnet_spec.rb @@ -3,6 +3,10 @@ require 'spec_helper' describe 'dhcp::subnet' do let (:title) { '1.2.3.4' } + let(:pre_condition) do + "class { '::dhcp::server': }" + end + on_supported_os.each do |os, facts| context "on #{os}" do let(:facts) do |