Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix chefspec depreciation warning about should #56

Merged
merged 1 commit into from
Oct 11, 2014

Conversation

bkw
Copy link
Contributor

@bkw 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
fix chefspec depreciation warning about `should`
@chris-rock chris-rock merged commit 8cbfe3c into dev-sec:master Oct 11, 2014
@chris-rock
Copy link
Member

thanks @bkw

rollbrettler pushed a commit to rollbrettler/chef-os-hardening that referenced this pull request Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants