Skip to content

Commit

Permalink
modifié : spec/defines/samba__server__share_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Autret committed Mar 15, 2017
1 parent 9448bb8 commit 45377de
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions spec/defines/samba__server__share_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 45377de

Please sign in to comment.