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

.not_to/.to_not inconsistency #59

Open
RobbieS-coder opened this issue Mar 3, 2024 · 2 comments
Open

.not_to/.to_not inconsistency #59

RobbieS-coder opened this issue Mar 3, 2024 · 2 comments
Labels
Status: Help Wanted This issue can be assigned to other contributors

Comments

@RobbieS-coder
Copy link

RobbieS-coder commented Mar 3, 2024

Throughout all of the lessons I have done so far, .not_to has always been used (as far as I have noticed) but in 10_drink_answer.rb on the 'is not full' test, .to_not is used.

On the Introduction to RSpec lesson at the end of the Basic syntax subsection, this is even said:
"The expect method is also chained with .to for positive expectations, or .to_not/.not_to for negative expectations. We prefer .not_to."

@rlmoser99
Copy link
Member

Thank you for making this issue. Yes, this is a change that we should make. Thanks for bringing it to our attention.

@rlmoser99 rlmoser99 added the Status: Help Wanted This issue can be assigned to other contributors label Aug 3, 2024
@Bidrift
Copy link

Bidrift commented Aug 24, 2024

I can help to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help Wanted This issue can be assigned to other contributors
Projects
None yet
Development

No branches or pull requests

3 participants