Skip to content
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

Chore: RuboCop Style/MultipleComparison #923

Merged
merged 4 commits into from Mar 11, 2019

Conversation

Drenmi
Copy link
Contributor

@Drenmi Drenmi commented Mar 4, 2019

Description

Part of RuboCop Quest.

This fixes the single instance of the offense for MultipleComparison. It turned out that the code wasn't needed at all, since Faraday::Utils.escape already correctly stringifies booleans.

Additional Notes

I also added a unit test that seemed to be missing for this code.

This fixes the single instance of the offense for MultipleComparison.
It turned out that the code wasn't needed at all, since
`Faraday::Utils.escape` already correctly stringifies booleans.

I also added a unit test that seemed to be missing for this code.
@Drenmi Drenmi force-pushed the chore/rubocop-multiple-comparison branch from ef2f4fa to 5292496 Compare March 4, 2019 02:44
@olleolleolle olleolleolle mentioned this pull request Mar 4, 2019
Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This finalizes this PR!

@iMacTia iMacTia merged commit 8869836 into lostisland:master Mar 11, 2019
@Drenmi Drenmi deleted the chore/rubocop-multiple-comparison branch March 12, 2019 01:59
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.

None yet

3 participants