diff --git a/spec/acceptance/default_spec.rb b/spec/acceptance/default_spec.rb index 49e20af..db8b886 100644 --- a/spec/acceptance/default_spec.rb +++ b/spec/acceptance/default_spec.rb @@ -41,7 +41,7 @@ describe 'rsnapshot' do end describe file('/etc/rsnapshot/example.com.rsnapshot.conf') do it { is_expected.to exist } - its(:content) { is_expected.to match 'backup' } + its(:content) { is_expected.to match 'backup\t/var/\t./' } end describe file('/etc/rsnapshot.conf') do it { is_expected.to exist } @@ -56,9 +56,5 @@ describe 'rsnapshot' do it { is_expected.to exist } its(:content) { is_expected.to match 'example.com' } end - describe cron do - its(:table) { should match /.*\/etc\/rsnapshot\/localhost.rsnapshot.conf daily.*/ } - its(:table) { should match /.*\/etc\/rsnapshot\/example\.com\.rsnapshot\.conf daily.*/ } - end end end