fix chefspec depreciation warning about `should` #56

merged 1 commit into from Oct 11, 2014


None yet
2 participants

bkw commented Oct 11, 2014

Trivial fix for the following warning:

Deprecation Warnings:

Using `should` from rspec-expectations' old `:should` syntax without explicitly
enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead.
Called from […]/chef-os-hardening/spec/recipes/default_spec.rb:35:in `block (2 levels) in <top (required)>'.

If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

chris-rock added a commit that referenced this pull request Oct 11, 2014

Merge pull request #56 from bkw/chefspecDepreciation
fix chefspec depreciation warning about `should`

@chris-rock chris-rock merged commit 8cbfe3c into dev-sec:master Oct 11, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed

This comment has been minimized.

Show comment
Hide comment

chris-rock Oct 11, 2014


thanks @bkw


chris-rock commented Oct 11, 2014

thanks @bkw

rollbrettler pushed a commit to rollbrettler/chef-os-hardening that referenced this pull request Sep 16, 2016

Merge pull request #56 from bkw/resurrectChefSolo
bring back support for chef-solo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment