rodjek / rspec-puppet

RSpec tests for your Puppet manifests
http://rspec-puppet.com
MIT License
364 stars 203 forks source link

Adjust raise_error to allow rspec-expectation's 3.10.0 changes #811

Closed DavidS closed 3 years ago

DavidS commented 3 years ago

In 3.10.0 rspec-expectations changed the RaiseError constructor to require the first two arguments. While technically a breaking change, this was alleviated by a fix in their DSL at https://github.com/rspec/rspec-expectations/commit/06ca736c5a1e9f5974e9c2d88c8992e7160cd618#diff-a62835906c442ece0b40d01ff6da519153cd4f671568900a1068370f30892cfcR770

This change adjusts rspec-puppet's raise_error to do the same.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.06%) to 85.34% when pulling bd9f0f53d3adb70eac1af2bead6e5397f25f71c2 on DavidS:raise_error into 5413833116de8287b6a0f4870de1e48115b2ab5d on rodjek:master.