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

Get rid of RSpec implicit block expectation syntax #12401

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Get rid of RSpec implicit block expectation syntax #12401

merged 1 commit into from
Oct 9, 2019

Conversation

pirj
Copy link
Contributor

@pirj pirj commented Oct 4, 2019

The syntax below was removed in rspec-expectations 3.8.5.

subject { -> { fail } }
it { is_expected.to raise_error }

Related:
https://blog.rubystyle.guide/rspec/2019/07/17/rspec-implicit-block-syntax.html
rspec/rspec-expectations#1125
rubocop/rspec-style-guide#76

This is a follow-up to #12397 and unpins rspec-expectations.

Verification

List the steps needed to make sure this thing works

  • [-] Start msfconsole
  • [-] use exploit/windows/smb/ms08_067_netapi
  • [-] ...
  • Verify the thing does what it should
  • Verify the thing does not do what it should not
  • [-] Document the thing and how it works (Example)

@jmartin-tech
Copy link
Contributor

Thanks @pirj!

@pirj pirj deleted the fix-rspec-implicit-block-expectation-syntax branch October 9, 2019 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants