Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Also this took me way too long to fix. #1729 suffers under some unrelated failing spec. On my machine, even when I
git switch main
on the 07694a6 I will see sometimes a failing spec, sometimes it passes.Here is an example:
I don't think it is necessary to check the query params here, maybe it was even an oversight. What I still don't understand: What is
some_route_path(as: some_user)
even doing? And why did it work in the past?How to test
git switch main
bin/rspec spec/system/settings/onboarding_channels_spec.rb
multiple (!) timesThis should not happen on this branch anymore.