Skip to content

Fix Ruby 2.7 deprecation in have_broadcasted_to #2270

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

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

pirj
Copy link
Member

@pirj pirj commented Jan 23, 2020

In Ruby 2.7:

  lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb:19:
    warning: Capturing the given block using Proc.new is deprecated; use `&block` instead

In Ruby 2.7:

  lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb:19:
    warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
@pirj pirj self-assigned this Jan 23, 2020
@pirj pirj requested a review from JonRowe January 24, 2020 13:10
@pirj pirj merged commit 014b9f8 into master Jan 24, 2020
@pirj pirj deleted the fix-deprecation-warning-in-have_broadcasted_to-matcher branch January 24, 2020 13:52
JonRowe pushed a commit that referenced this pull request Mar 13, 2020
…roadcasted_to-matcher

Fix Ruby 2.7 deprecation in have_broadcasted_to
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.

3 participants