Skip to content

Commit

Permalink
Enable basic acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jan 20, 2022
1 parent 993cc59 commit 9e0832e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spec/acceptance/requirements_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# frozen_string_literal: true

require 'spec_helper_acceptance'

describe 'posix_acl' do
context 'with default behaviour' do
let(:pp) do
'include posix_acl::requirements'
end

it 'works idempotently with no errors' do
apply_manifest(pp, catch_failures: true)
apply_manifest(pp, catch_changes: true)
end

describe package('acl') do
it { is_expected.to be_installed }
it { is_expected.to be_running }
end
end
end

0 comments on commit 9e0832e

Please sign in to comment.