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

Add ability to inspect all describable matchers #219

Merged
merged 1 commit into from
Feb 10, 2024

Commits on Feb 10, 2024

  1. Add ability to inspect all describable matchers

    In a previous commit, a new inspection tree builder was added which
    was designed to handle built-in RSpec matchers as well as matchers
    created via the matcher DSL, by reusing the `description` of the matcher
    as the inspection text. However, this inspector did not cover custom
    matchers defined from scratch rather than via the DSL. This commit
    corrects this by making use of the `is_a_describable_matcher?` method
    from RSpec::Matchers.
    mcmire committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    6b71778 View commit details
    Browse the repository at this point in the history