Skip to content

Commit

Permalink
Add acceptance testing
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex authored and jhoblitt committed Oct 6, 2022
1 parent 4af9ba4 commit 2919a5f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
spec/spec_helper.rb:
spec_overrides: "require_relative './settings_helper'"
spec/spec_helper_acceptance.rb:
unmanaged: false
7 changes: 7 additions & 0 deletions spec/acceptance/bareos_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

require 'spec_helper_acceptance'

describe 'bareos class' do
it_behaves_like 'the example', 'init.pp'
end
10 changes: 10 additions & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

require 'voxpupuli/acceptance/spec_helper_acceptance'

configure_beaker

Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f }

0 comments on commit 2919a5f

Please sign in to comment.