ansible-role-certbot/test/integration/certbot/serverspec/certbot_spec.rb

16 lines
299 B
Ruby
Raw Normal View History

2018-06-10 17:34:06 +00:00
require 'serverspec'
set :backend, :exec
describe package('certbot') do
it { should be_installed }
end
describe file('/var/www/acme') do
it { should exist }
it { should be_directory }
it { should be_mode 755 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
end