Add idempotentcy rspec test

Add an idempotency test for askbot.pp

Change-Id: I65fdfc17b004556b6f8c5c1355d036c2e707b277
This commit is contained in:
Ian Wienand 2018-06-06 06:25:35 +10:00 committed by Colleen Murphy
parent 497c3ba578
commit 45e3a2909d
1 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,8 @@ describe 'puppet-askbot:: manifest', :if => ['debian', 'ubuntu'].include?(os[:fa
apply_manifest(init_puppet_manifest, catch_failures: true)
end
it 'should be idempotent' do
apply_manifest(init_puppet_manifest, catch_changes: true)
end
end