]> gitweb.fluxo.info Git - puppet-samba.git/commitdiff
remove block end comments; now they fit on screen
authorAdam Jahn <ajjahn@gmail.com>
Fri, 8 Jul 2016 19:45:09 +0000 (15:45 -0400)
committerAdam Jahn <ajjahn@gmail.com>
Fri, 8 Jul 2016 19:45:09 +0000 (15:45 -0400)
spec/defines/samba__server__share_spec.rb

index 2d779c356a67f794c8301dc2c4cf90aaf21f4ebd..50441f08930e1358cc125f5e8180fa51b6ea332a 100644 (file)
@@ -107,7 +107,7 @@ describe 'samba::server::share', :type => :define do
           :require  => 'Augeas[test_share-section]',
           :notify   => 'Class[Samba::Server::Service]')
         }
-      end#no params
+      end
 
       context 'with ensure set to absent' do
         let(:title) { 'test_share' }
@@ -123,7 +123,7 @@ describe 'samba::server::share', :type => :define do
           :require => 'Class[Samba::Server::Config]',
           :notify  => 'Class[Samba::Server::Service]')
         }
-      end#no params
+      end
 
       context 'with available set to true' do
         include_examples "default share"
@@ -132,7 +132,7 @@ describe 'samba::server::share', :type => :define do
           :available => true,
         }}
         let(:change_set) { default_changes.with("available", "yes") }
-      end#available true
+      end
 
       context 'with available set to false' do
         include_examples "default share"
@@ -141,7 +141,7 @@ describe 'samba::server::share', :type => :define do
           :available => false,
         }}
         let(:change_set) { default_changes.with("available", "no") }
-      end#available false
+      end
 
       context 'with browsable set to true' do
         include_examples "default share"
@@ -150,7 +150,7 @@ describe 'samba::server::share', :type => :define do
           :browsable => true,
         }}
         let(:change_set) { default_changes.with("browsable", "yes") }
-      end#browsable false
+      end
 
       context 'with browsable set to false' do
         include_examples "default share"
@@ -159,7 +159,7 @@ describe 'samba::server::share', :type => :define do
           :browsable => false,
         }}
         let(:change_set) { default_changes.with("browsable", "no") }
-      end#browsable false
+      end
 
       context 'with root_preexec set to /bin/true' do
         include_examples "default share"
@@ -168,7 +168,7 @@ describe 'samba::server::share', :type => :define do
           :root_preexec => '/bin/true',
         }}
         let(:change_set) { default_changes.with("root preexec", "'/bin/true'") }
-      end#root_preexec
+      end
 
       context 'with comment set to "testing testing"' do
         include_examples "default share"
@@ -177,7 +177,7 @@ describe 'samba::server::share', :type => :define do
           :comment => 'testing testing',
         }}
         let(:change_set) { default_changes.with("comment", "'testing testing'") }
-      end#comment
+      end
 
       context 'with copy set to "testing testing"' do
         include_examples "default share"
@@ -186,7 +186,7 @@ describe 'samba::server::share', :type => :define do
           :copy => 'testing testing',
         }}
         let(:change_set) { default_changes.with("copy", "'testing testing'") }
-      end#copy
+      end
 
       context 'with create_mask set to "755"' do
         include_examples "default share"
@@ -195,7 +195,7 @@ describe 'samba::server::share', :type => :define do
           :create_mask => '755',
         }}
         let(:change_set) { default_changes.with("create mask", "'755'") }
-      end#create mask
+      end
 
       context 'with directory_mask set to "755"' do
         include_examples "default share"
@@ -204,7 +204,7 @@ describe 'samba::server::share', :type => :define do
           :directory_mask => '755',
         }}
         let(:change_set) { default_changes.with("directory mask", "'755'") }
-      end#directory_mask
+      end
 
       context 'with force_create_mask set to "755"' do
         include_examples "default share"
@@ -213,7 +213,7 @@ describe 'samba::server::share', :type => :define do
           :force_create_mask => '755',
         }}
         let(:change_set) { default_changes.with("force create mask", "'755'") }
-      end#force_create_mask
+      end
 
       context 'with force_directory_mode set to "755"' do
         include_examples "default share"
@@ -222,7 +222,7 @@ describe 'samba::server::share', :type => :define do
           :force_directory_mode => '755',
         }}
         let(:change_set) { default_changes.with("force directory mode", "'755'") }
-      end#force_directory_mode
+      end
 
       context 'with force_group set to "nogroup"' do
         include_examples "default share"
@@ -231,7 +231,7 @@ describe 'samba::server::share', :type => :define do
           :force_group => 'nogroup',
         }}
         let(:change_set) { default_changes.with("force group", "'nogroup'") }
-      end#force_group
+      end
 
       context 'with force_user set to "nobody"' do
         include_examples "default share"
@@ -240,7 +240,7 @@ describe 'samba::server::share', :type => :define do
           :force_user => 'nobody',
         }}
         let(:change_set) { default_changes.with("force user", "'nobody'") }
-      end#force_user
+      end
 
       context 'with guest_ok set to true' do
         include_examples "default share"
@@ -249,7 +249,7 @@ describe 'samba::server::share', :type => :define do
           :guest_ok => true,
         }}
         let(:change_set) { default_changes.with("guest ok", "yes") }
-      end#guest_ok true
+      end
 
       context 'with guest_ok set to false' do
         include_examples "default share"
@@ -258,7 +258,7 @@ describe 'samba::server::share', :type => :define do
           :guest_ok => false,
         }}
         let(:change_set) { default_changes.with("guest ok", "no") }
-      end#guest_ok false
+      end
 
       context 'with guest_only set to true' do
         include_examples "default share"
@@ -267,7 +267,7 @@ describe 'samba::server::share', :type => :define do
           :guest_only => true,
         }}
         let(:change_set) { default_changes.with("guest only", "yes") }
-      end#guest_only false
+      end
 
       context 'with guest_only set to false' do
         include_examples "default share"
@@ -276,7 +276,7 @@ describe 'samba::server::share', :type => :define do
           :guest_only => false,
         }}
         let(:change_set) { default_changes.with("guest only", "no") }
-      end#guest_only false
+      end
 
       context 'with hide_unreadable set to true' do
         include_examples "default share"
@@ -285,7 +285,7 @@ describe 'samba::server::share', :type => :define do
           :hide_unreadable => true,
         }}
         let(:change_set) { default_changes.with("hide unreadable", "yes") }
-      end#hide_unreadable true
+      end
 
       context 'with hide_unreadable set to false' do
         include_examples "default share"
@@ -294,7 +294,7 @@ describe 'samba::server::share', :type => :define do
           :hide_unreadable => false,
         }}
         let(:change_set) { default_changes.with("hide unreadable", "no") }
-      end#hide_unreadable false
+      end
 
       context 'with path set to /tmp' do
         include_examples "default share"
@@ -303,7 +303,7 @@ describe 'samba::server::share', :type => :define do
           :path   => '/tmp',
         }}
         let(:change_set) { default_changes.with("path", "'/tmp'", nil) }
-      end#path
+      end
 
       context 'with read_only set to true' do
         include_examples "default share"
@@ -312,7 +312,7 @@ describe 'samba::server::share', :type => :define do
           :read_only => true,
         }}
         let(:change_set) { default_changes.with("read only", "yes") }
-      end#read_only true
+      end
 
       context 'with read_only set to false' do
         include_examples "default share"
@@ -321,7 +321,7 @@ describe 'samba::server::share', :type => :define do
           :read_only => false,
         }}
         let(:change_set) { default_changes.with("read only", "no") }
-      end#read_only false
+      end
 
       context 'with public set to true' do
         include_examples "default share"
@@ -330,7 +330,7 @@ describe 'samba::server::share', :type => :define do
           :public => true,
         }}
         let(:change_set) { default_changes.with("public", "yes") }
-      end#public true
+      end
 
       context 'with public set to false' do
         include_examples "default share"
@@ -339,7 +339,7 @@ describe 'samba::server::share', :type => :define do
           :public => false,
         }}
         let(:change_set) { default_changes.with("public", "no") }
-      end#public false
+      end
 
       context 'with writable set to true' do
         include_examples "default share"
@@ -348,7 +348,7 @@ describe 'samba::server::share', :type => :define do
           :writable => true,
         }}
         let(:change_set) { default_changes.with("writable", "yes") }
-      end#writable true
+      end
 
       context 'with writable set to false' do
         include_examples "default share"
@@ -357,7 +357,7 @@ describe 'samba::server::share', :type => :define do
           :writable => false,
         }}
         let(:change_set) { default_changes.with("writable", "no") }
-      end#writable false
+      end
 
       context 'with printable set to true' do
         include_examples "default share"
@@ -366,7 +366,7 @@ describe 'samba::server::share', :type => :define do
           :printable => true,
         }}
         let(:change_set) { default_changes.with("printable", "yes") }
-      end#printable true
+      end
 
       context 'with printable set to false' do
         include_examples "default share"
@@ -375,7 +375,7 @@ describe 'samba::server::share', :type => :define do
           :printable => false,
         }}
         let(:change_set) { default_changes.with("printable", "no") }
-      end#printable false
+      end
 
       context 'with follow_symlinks set to true' do
         include_examples "default share"
@@ -384,7 +384,7 @@ describe 'samba::server::share', :type => :define do
           :follow_symlinks => true,
         }}
         let(:change_set) { default_changes.with("follow symlinks", "yes") }
-      end#follow_symlinks true
+      end
 
       context 'with follow_symlinks set to false' do
         include_examples "default share"
@@ -393,7 +393,7 @@ describe 'samba::server::share', :type => :define do
           :follow_symlinks => false,
         }}
         let(:change_set) { default_changes.with("follow symlinks", "no") }
-      end#follow_symlinks false
+      end
 
       context 'with wide_links set to true' do
         include_examples "default share"
@@ -402,7 +402,7 @@ describe 'samba::server::share', :type => :define do
           :wide_links => true,
         }}
         let(:change_set) { default_changes.with("wide links", "yes") }
-      end#wide_links true
+      end
 
       context 'with wide_links set to false' do
         include_examples "default share"
@@ -411,7 +411,7 @@ describe 'samba::server::share', :type => :define do
           :wide_links => false,
         }}
         let(:change_set) { default_changes.with("wide links", "no") }
-      end#wide_links false
+      end
 
       context 'with map_acl_inherit set to true' do
         include_examples "default share"
@@ -420,7 +420,7 @@ describe 'samba::server::share', :type => :define do
           :map_acl_inherit => true,
         }}
         let(:change_set) { default_changes.with("map acl inherit", "yes") }
-      end#map_acl_inherit true
+      end
 
       context 'with map_acl_inherit set to false' do
         include_examples "default share"
@@ -429,7 +429,7 @@ describe 'samba::server::share', :type => :define do
           :map_acl_inherit => false,
         }}
         let(:change_set) { default_changes.with("map acl inherit", "no") }
-      end#map_acl_inherit false
+      end
 
       context 'with store_dos_attributes set to true' do
         include_examples "default share"
@@ -438,7 +438,7 @@ describe 'samba::server::share', :type => :define do
           :store_dos_attributes => true,
         }}
         let(:change_set) { default_changes.with("store dos attributes", "yes") }
-      end#store_dos_attributes true
+      end
 
       context 'with store_dos_attributes set to false' do
         include_examples "default share"
@@ -447,7 +447,7 @@ describe 'samba::server::share', :type => :define do
           :store_dos_attributes => false,
         }}
         let(:change_set) { default_changes.with("store dos attributes", "no") }
-      end#store_dos_attributes false
+      end
 
       context 'with strict_allocate set to true' do
         include_examples "default share"
@@ -456,7 +456,7 @@ describe 'samba::server::share', :type => :define do
           :strict_allocate => true,
         }}
         let(:change_set) { default_changes.with("strict allocate", "yes") }
-      end#strict_allocate true
+      end
 
       context 'with strict_allocate set to false' do
         include_examples "default share"
@@ -465,7 +465,7 @@ describe 'samba::server::share', :type => :define do
           :strict_allocate => false,
         }}
         let(:change_set) { default_changes.with("strict allocate", "no") }
-      end#strict_allocate false
+      end
 
       context 'with valid_users set to "bill,ben"' do
         include_examples "default share"
@@ -474,7 +474,7 @@ describe 'samba::server::share', :type => :define do
           :valid_users => 'bill,ben',
         }}
         let(:change_set) { default_changes.with("valid users", "'bill,ben'") }
-      end#valid_users
+      end
 
       context 'with op_locks set to "testing"' do
         include_examples "default share"
@@ -483,7 +483,7 @@ describe 'samba::server::share', :type => :define do
           :op_locks => 'testing',
         }}
         let(:change_set) { default_changes.with("oplocks", "'testing'") }
-      end#op_locks
+      end
 
       context 'with level2_oplocks set to "testing"' do
         include_examples "default share"
@@ -492,7 +492,7 @@ describe 'samba::server::share', :type => :define do
           :level2_oplocks => 'testing',
         }}
         let(:change_set) { default_changes.with("level2 oplocks", "'testing'") }
-      end#level2_oplocks
+      end
 
       context 'with veto_oplock_files set to "testing"' do
         include_examples "default share"
@@ -501,7 +501,7 @@ describe 'samba::server::share', :type => :define do
           :veto_oplock_files => 'testing',
         }}
         let(:change_set) { default_changes.with("veto oplock files", "'testing'") }
-      end#veto_oplock_files
+      end
 
       context 'with write_list set to "bill,ben"' do
         include_examples "default share"
@@ -510,7 +510,7 @@ describe 'samba::server::share', :type => :define do
           :write_list => 'bill,ben',
         }}
         let(:change_set) { default_changes.with("write list", "'bill,ben'") }
-      end#write_list
+      end
 
       context 'with hide_dot_files set to true' do
         include_examples "default share"
@@ -519,7 +519,7 @@ describe 'samba::server::share', :type => :define do
           :hide_dot_files => true,
         }}
         let(:change_set) { default_changes.with("hide dot files", "yes") }
-      end#hide_dot_files true
+      end
 
       context 'with hide_dot_files set to false' do
         include_examples "default share"
@@ -528,7 +528,7 @@ describe 'samba::server::share', :type => :define do
           :hide_dot_files => false,
         }}
         let(:change_set) { default_changes.with("hide dot files", "no") }
-      end#hide_dot_files false
+      end
 
       context 'with root_preexec set to "/bin/test"' do
         include_examples "default share"
@@ -537,7 +537,7 @@ describe 'samba::server::share', :type => :define do
           :root_preexec => '/bin/test',
         }}
         let(:change_set) { default_changes.with("root preexec", "'/bin/test'") }
-      end#root_preexec
+      end
     end
   end
 end