From ee15236a9dc9f7b082076679528a52f07bdf4664 Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Fri, 8 Jul 2016 15:45:22 -0400 Subject: clean whitespace --- spec/classes/samba__server_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/classes/samba__server_spec.rb') diff --git a/spec/classes/samba__server_spec.rb b/spec/classes/samba__server_spec.rb index 46c5b15..cbd0a80 100644 --- a/spec/classes/samba__server_spec.rb +++ b/spec/classes/samba__server_spec.rb @@ -36,7 +36,7 @@ describe 'samba::server' do } } }} - it { + it { should contain_samba__server__share( 'testShare' ).with({ 'path' => '/path/to/some/share', 'browsable' => true, -- cgit v1.2.3 From 4c2e759147b6a5fd0ce62709944189ada538e64e Mon Sep 17 00:00:00 2001 From: John Hodrien Date: Tue, 15 Mar 2016 10:25:38 +0000 Subject: Add spec test for msdfs root --- spec/acceptance/basic_samba_spec.rb | 1 + spec/classes/samba__server_spec.rb | 2 ++ 2 files changed, 3 insertions(+) (limited to 'spec/classes/samba__server_spec.rb') diff --git a/spec/acceptance/basic_samba_spec.rb b/spec/acceptance/basic_samba_spec.rb index 8a9e363..e50cb2a 100644 --- a/spec/acceptance/basic_samba_spec.rb +++ b/spec/acceptance/basic_samba_spec.rb @@ -22,6 +22,7 @@ describe 'basic samba' do force_group => 'group', force_user => 'user', hide_dot_files => false, + msdfs_root => true, } "} diff --git a/spec/classes/samba__server_spec.rb b/spec/classes/samba__server_spec.rb index cbd0a80..37d5aa8 100644 --- a/spec/classes/samba__server_spec.rb +++ b/spec/classes/samba__server_spec.rb @@ -30,6 +30,7 @@ describe 'samba::server' do 'writable' => true, 'guest_ok' => true, 'guest_only' => true, + 'msdfs_root' => true, }, 'testShare2' => { 'path' => '/some/other/path' @@ -43,6 +44,7 @@ describe 'samba::server' do 'writable' => true, 'guest_ok' => true, 'guest_only' => true, + 'msdfs_root' => true, }) } it { should contain_samba__server__share( 'testShare2' ).with_path('/some/other/path') } -- cgit v1.2.3