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

Define rspec matcher only when rspec is defined #529

Conversation

swelther
Copy link
Contributor

Our CI tests run in a CI environment, so the rspec matcher is not defined. This PR changes the definition of the matcher so it is always defined when RSpec itself is defined.

Added no tests because not really possible. The gem itself does not use RSpec for tests.

@swelther swelther force-pushed the fix/define-rspec-matcher-when-rspec-is-defined branch from 86ee99f to ac7022a Compare February 25, 2022 10:06
@mathieujobin mathieujobin merged commit fb494c8 into rubysherpas:core Feb 28, 2022
karunkumar1ly pushed a commit to edcast/paranoia that referenced this pull request Feb 6, 2024
Co-authored-by: Sebastian Welther <sebastian.welther@sumcumo.com>
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.

2 participants