]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Remove leftover debugging 'puts'
authorJiri Stransky <jistr@redhat.com>
Thu, 23 Nov 2017 15:37:07 +0000 (16:37 +0100)
committerJiri Stransky <jistr@redhat.com>
Thu, 23 Nov 2017 15:37:07 +0000 (16:37 +0100)
I used the puts to figure out rspec behavior and forgot to remove it
before commiting a fix.

spec/unit/puppet/provider/iptables_spec.rb

index ce48e7a81669368defdfbbd8e07f74e74373acfa..4faacab71b1d09494415f28168b14651b705383d 100644 (file)
@@ -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