aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2015-04-13 13:28:45 -0400
committerAdam Jahn <ajjahn@gmail.com>2015-04-13 13:34:06 -0400
commitb4e4a92ff4da6e34a8707ffb49c8ccf6ce316d2b (patch)
tree5ee2b2ff74c90ded9eab45f72e5f3b4d1432cf8e /spec
parente8b0f0a745c65babb91c2d049743fc09140a282b (diff)
downloadpuppet-samba-b4e4a92ff4da6e34a8707ffb49c8ccf6ce316d2b.tar.gz
puppet-samba-b4e4a92ff4da6e34a8707ffb49c8ccf6ce316d2b.tar.bz2
more specs for samba::server
use short hand for path to get specs passing
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/samba__server_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/classes/samba__server_spec.rb b/spec/classes/samba__server_spec.rb
index 89d994f..fce10bb 100644
--- a/spec/classes/samba__server_spec.rb
+++ b/spec/classes/samba__server_spec.rb
@@ -6,4 +6,21 @@ describe 'samba::server' do
it { should contain_class('samba::server::install') }
it { should contain_class('samba::server::config') }
it { should contain_class('samba::server::service') }
+
+ it { should contain_samba__server__option('interfaces') }
+ it { should contain_samba__server__option('bind interfaces only') }
+ it { should contain_samba__server__option('security') }
+ it { should contain_samba__server__option('server string') }
+ it { should contain_samba__server__option('unix password sync') }
+ it { should contain_samba__server__option('workgroup') }
+ it { should contain_samba__server__option('socket_options') }
+ it { should contain_samba__server__option('deadtime') }
+ it { should contain_samba__server__option('keepalive') }
+ it { should contain_samba__server__option('load_printers') }
+ it { should contain_samba__server__option('printing') }
+ it { should contain_samba__server__option('printcap_name') }
+ it { should contain_samba__server__option('disable_spoolss') }
+
+ it { should contain_file('/sbin/check_samba_user').with_owner('root') }
+ it { should contain_file('/sbin/add_samba_user').with_owner('root') }
end