aboutsummaryrefslogtreecommitdiff
path: root/spec/classes/samba__server__config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes/samba__server__config_spec.rb')
-rw-r--r--spec/classes/samba__server__config_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/classes/samba__server__config_spec.rb b/spec/classes/samba__server__config_spec.rb
new file mode 100644
index 0000000..5f13aa4
--- /dev/null
+++ b/spec/classes/samba__server__config_spec.rb
@@ -0,0 +1,10 @@
+require 'spec_helper'
+
+describe 'samba::server::config', :type => :class do
+ context "on a Debian OS" do
+ let( :facts ) { { :osfamily => 'Debian' } }
+
+ it { should contain_file('/etc/samba/smb.conf').with_owner('root') }
+ end
+end
+