mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-25 19:35:02 +01:00
17 lines
444 B
Ruby
17 lines
444 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'hashi_stack::repo class' do
|
|
|
|
context 'default parameters' do
|
|
# Using puppet_apply as a helper
|
|
it 'should work with no errors based on the example' do
|
|
pp = <<-EOS
|
|
class { 'hashi_stack::repo': }
|
|
EOS
|
|
|
|
# Run it twice and test for idempotency
|
|
expect(apply_manifest(pp).exit_code).to_not eq(1)
|
|
expect(apply_manifest(pp).exit_code).to eq(0)
|
|
end
|
|
end
|
|
end
|