Skip to content

.not_to/.to_not inconsistency #59

Description

@RobbieS-coder

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."

Activity

  1. rlmoser99 commented on Aug 3, 2024

    @rlmoser99
    Member

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

  2. Bidrift commented on Aug 24, 2024

    @Bidrift

    I can help to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Help WantedThis issue can be assigned to other contributors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions