Sha256: 6809636bd9d8f6148dfdc6425fda3eb6d3031754c9253fd02b96a874beb377b4
Contents?: true
Size: 825 Bytes
Versions: 7
Compression:
Stored size: 825 Bytes
Contents
require 'spec_helper_acceptance' describe "firewall class:" do it 'should run successfully' do pp = "class { 'firewall': }" # Run it twice and test for idempotency apply_manifest(pp, :catch_failures => true) expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero end it 'ensure => stopped:' do pp = "class { 'firewall': ensure => stopped }" # Run it twice and test for idempotency apply_manifest(pp, :catch_failures => true) expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero end it 'ensure => running:' do pp = "class { 'firewall': ensure => running }" # Run it twice and test for idempotency apply_manifest(pp, :catch_failures => true) expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero end end
Version data entries
7 entries across 7 versions & 1 rubygems