False positive for ActionControllerFlashBeforeRender
when render
and redirect_to
are both present
#808
Labels
bug
Something isn't working
ActionControllerFlashBeforeRender
also triggers whenflash[]
comes afterrender
. This causes a false positive for a scenario such as:(It looks the cop's
followed_by_render?
method currently behaves more like asibling_of_render?
)Expected behavior
0 failures
Actual behavior
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: