Skip to content

Only include Minitest assertions when RSpec is configured to use them #2639

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

Closed
wants to merge 1 commit into from

Conversation

pirj
Copy link
Member

@pirj pirj commented Nov 19, 2022

This would only allow using Minitest assertions (assert_equal) when RSpec is configured to allow them:

RSpec.confige do |c|
  c.expect_with :minitest
  c.expect_with :rspec do
    # ...
  end
end

@pirj pirj self-assigned this Nov 19, 2022
@pirj pirj closed this Nov 19, 2022
@pirj pirj deleted the only-allow-assertions-when-explicitly-configured branch November 19, 2022 11:02
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.

1 participant