Phil Pirozhkov
Phil Pirozhkov
Can you please provide a code example?
To my best knowledge, their definition happens in the example group context, and their blocks are never executed until later. What may affect it is the implicit order of hooks...
> introducing rubocop into a big project has been very painful. Sure, I understand. Sometimes a single cop can raise thousands of offences. And have no autocorrection at all. No...
> we have to look through thousands of changes > I won't have time to contribute Those two paragraphs sound contradictory to me. No library is bug-free. `rubocop-rspec` is part...
You are encouraged to report issues. Still, we strive to keep issues open if someone eventually decides to fix them. For this specific one, the perspective is quite vague, and...
@thisismydesign I couldn't actually reproduce the side effect of a `let!` overridden in a nested example group. I've spotted a side effect, and attributed it to bang-`let!`s widely used in...
@dleavitt Thanks for the example. I suppose the cop should ignore such cases in its autocorrection.
Is it deliberate that you don’t want to override `==` in this class?
Good catch! This `create` runs even before `before(:suite)` hooks. Few things to consider: - calls without assignment to variables - `fabrication` gem - model class `create!` calls (can this be...
I'd start with the second one as more impactful. Also, I remember that variables can be quite handy in some cases, e.g.: ``` describe SomeConcern do klazz = Class.new do...