control 'Rsync configuration' do title 'should match desired lines' describe ini('/etc/rsyncd.conf') do its('uid') { should eq 'nobody' } its('gid') { should eq 'nobody' } its('use chroot') { should eq 'yes' } its('max connections') { should eq '4' } its('ftp.path') { should eq '/var/ftp/./pub' } its('ftp.comment') { should eq 'whole ftp area (approx 6.1 GB)' } end end