]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
Update providers to use expect syntax
authorHunter Haugen <h.haugen@gmail.com>
Mon, 8 Jul 2013 23:40:59 +0000 (16:40 -0700)
committerHunter Haugen <h.haugen@gmail.com>
Mon, 8 Jul 2013 23:59:44 +0000 (16:59 -0700)
commit0dba5e7996584eac45e52b1eebd7a9e423e30806
tree6eb1c7f13d1c5c5a349f40844d4c2e6883e4f700
parent3c6c54622ef11a884beee4309b76f3831fff8aa7
Update providers to use expect syntax

The expect syntax is much better than the should syntax and ships with
RSpec 2.14. It caused a few conflicts with the mocha stubbing, so I
updated the docs to use rspec test doubles instead.
spec/spec_helper.rb
spec/unit/puppet/provider/iptables_chain_spec.rb
spec/unit/puppet/provider/iptables_spec.rb
spec/unit/puppet/type/firewall_spec.rb
spec/unit/puppet/type/firewallchain_spec.rb
spec/unit/puppet/util/firewall_spec.rb