]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
Fix tests for Ruby 1.9.3 from 3e13bf3
authorDan Carley <dan.carley@gmail.com>
Sat, 23 Feb 2013 14:10:39 +0000 (14:10 +0000)
committerDan Carley <dan.carley@gmail.com>
Sat, 23 Feb 2013 14:10:39 +0000 (14:10 +0000)
commit5dff0757ce4453893fe00ddbe3a358483d1cb74f
treea5c6cb098d465f593d12ef1aeca8bf6a4dfcb4f4
parented43b10a83f6cf7fe03fa1d2d974fb359a60f748
Fix tests for Ruby 1.9.3 from 3e13bf3

Changes in 3e13bf3 broke tests for Ruby 1.9.3 which doesn't support
Enumerable on Strings. Workaround this by casting everything as an array and
flattening to prevent existing arrays from being encapsulated.
lib/puppet/provider/firewall/iptables.rb