You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of places where we don't check for a block and issue a warning, we've generally not subscribed to the philosophy of warning about Rubyisms, in Ruby you can give a block to almost any method and it'll be ignored if its not expected...
Subject of the issue
Found in rubocop/rubocop-rspec#919
Expected behavior
A warning or an error makes it obvious that
be
doesn't accept a block.Actual behavior
The text was updated successfully, but these errors were encountered: