Skip to content

Commit

Permalink
Merge pull request #70 from voxpupuli/modulesync
Browse files Browse the repository at this point in the history
Implement acceptance tests
  • Loading branch information
bastelfreak committed Apr 18, 2023
2 parents 5b83de4 + e54997a commit a8be4e6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ concurrency:
jobs:
puppet:
name: Puppet
uses: voxpupuli/gha-puppet/.github/workflows/basic.yml@v1
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v1
with:
pidfile_workaround: 'false'
16 changes: 16 additions & 0 deletions spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# frozen_string_literal: true

require 'spec_helper_acceptance'

describe 'dbbackup' do
it_behaves_like 'an idempotent resource' do
let(:manifest) do
<<-PUPPET
tcp_conn_validator { 'beaker ssh test' :
host => '127.0.0.1',
port => 22,
}
PUPPET
end
end
end

0 comments on commit a8be4e6

Please sign in to comment.