From 45377de1114b8e8db838ec6967d85af31c7fbf7c Mon Sep 17 00:00:00 2001 From: Alexis Autret Date: Wed, 15 Mar 2017 10:53:30 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20spec/defines/samba=5F=5Fserver=5F=5Fshare=5Fspec.rb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/defines/samba__server__share_spec.rb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/spec/defines/samba__server__share_spec.rb b/spec/defines/samba__server__share_spec.rb index 751a8c1..172f25f 100644 --- a/spec/defines/samba__server__share_spec.rb +++ b/spec/defines/samba__server__share_spec.rb @@ -694,14 +694,22 @@ let(:change_set) { default_changes.with("hosts allow", "'127.0.0.1'") } end - context 'with acl_allow_execute_always to "yes"' do + context 'with acl_allow_execute_always to true' do include_examples "default share" let(:params) {{ :ensure => 'present', - :acl_allow_execute_always => 'yes', + :acl_allow_execute_always => true, }} let(:change_set) { default_changes.with("acl allow execute always", "yes") } end + context 'with acl_allow_execute_always to false' do + include_examples "default share" + let(:params) {{ + :ensure => 'present', + :acl_allow_execute_always => false, + }} + let(:change_set) { default_changes.with("acl allow execute always", "no") } + end end end end