From: Jiri Stransky Date: Thu, 23 Nov 2017 15:37:07 +0000 (+0100) Subject: Remove leftover debugging 'puts' X-Git-Tag: 1.11.0~2^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5628e5b9919eeaa14c9ff9353f96f03a3a6f8664;p=puppet-modules%2Fpuppetlabs-firewall.git Remove leftover debugging 'puts' I used the puts to figure out rspec behavior and forgot to remove it before commiting a fix. --- diff --git a/spec/unit/puppet/provider/iptables_spec.rb b/spec/unit/puppet/provider/iptables_spec.rb index ce48e7a..4faacab 100644 --- a/spec/unit/puppet/provider/iptables_spec.rb +++ b/spec/unit/puppet/provider/iptables_spec.rb @@ -217,7 +217,6 @@ describe 'iptables provider' do let(:resource) { provider.rule_to_hash(data[:line], data[:table], 0) } # If this option is enabled, make sure the error was raised if data[:produce_warning] then - puts data it "the input rules should produce a warning by rules_to_hash" do expect(provider).to receive(:warning).with(/Skipping unparsable iptables rule/) resource # force resource to get evaluated