From: Morgan Haskel Date: Tue, 3 Jun 2014 19:04:52 +0000 (-0400) Subject: Don't check stderr X-Git-Tag: 1.1.2~1^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=70e14fa0b6b6692d83a5a8dae5dcfdf5267346df;p=puppet-modules%2Fpuppetlabs-firewall.git Don't check stderr --- diff --git a/spec/acceptance/resource_cmd_spec.rb b/spec/acceptance/resource_cmd_spec.rb index f964df7..1a10fdd 100644 --- a/spec/acceptance/resource_cmd_spec.rb +++ b/spec/acceptance/resource_cmd_spec.rb @@ -9,7 +9,7 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i shell('puppet resource firewall') do |r| r.exit_code.should be_zero # don't check stdout, some boxes come with rules, that is normal - r.stderr.should be_empty + # don't check stderr, puppet throws deprecation warnings end end end @@ -23,7 +23,6 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i it do shell('puppet resource firewall') do |r| r.exit_code.should be_zero - r.stderr.should be_empty r.stdout.should == "\n" end end @@ -39,7 +38,7 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i shell('puppet resource firewall') do |r| r.exit_code.should be_zero # don't check stdout, testing preexisting rules, output is normal - r.stderr.should be_empty + # don't check stderr, puppet throws deprecation warnings end end end @@ -54,7 +53,7 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i shell('puppet resource firewall') do |r| r.exit_code.should be_zero # don't check stdout, testing preexisting rules, output is normal - r.stderr.should be_empty + # don't check stderr, puppet throws deprecation warnings end end end @@ -71,7 +70,7 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i shell('puppet resource firewall') do |r| r.exit_code.should be_zero # don't check stdout, testing preexisting rules, output is normal - r.stderr.should be_empty + # don't check stderr, puppet throws deprecation warnings end end end @@ -86,7 +85,7 @@ describe 'puppet resource firewall command:', :unless => UNSUPPORTED_PLATFORMS.i shell('puppet resource firewall') do |r| r.exit_code.should be_zero # don't check stdout, testing preexisting rules, output is normal - r.stderr.should be_empty + # don't check stderr, puppet throws deprecation warnings end end end