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

Fix two rogue messages on tests #1918

Merged
merged 1 commit into from
Sep 30, 2023

Commits on Sep 30, 2023

  1. Fix two rogue messages on tests

    These two messages would appear on some tests, on the console. With
    this commit those messages are still caught but don’t show up on the
    console anymore (in the middle of RSpec’s dots).
    
    The messages were:
    - You have to provide an email address. Usage: rake member:delete'[[email protected]]'
    - Checking for expected text of nil is confusing and/or pointless since it will always
      match. Please specify a string or regexp instead.
    
    Technically, the second one is not a message we display on the code,
    but rather an RSpec warning telling us one of our variables was nil.
    Adding content to the constructor was the solution.
    gnclmorais committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    d083583 View commit details
    Browse the repository at this point in the history