Skip to content

Conversation

@VedranZoricic
Copy link
Contributor

@VedranZoricic VedranZoricic commented Sep 1, 2025

Context:
-Doing this because of PR #619
-Main issue https://github.com/intercom/intercom/issues/418231
This PR updates our testing dependencies to be compatible with Ruby 2.6:

  1. Updated Mocha integration method (spec/spec_helper.rb)
    - Changed from deprecated mocha/setup to explicit mocha/minitest
    - This eliminates the deprecation warning and ensures proper framework detection
  2. Upgraded Mocha version (intercom.gemspec)
    - Updated from ~> 1.0 to ~> 2.0
    - Mocha 2.x includes proper support for the MiniTest → Minitest transition

@VedranZoricic VedranZoricic self-assigned this Sep 1, 2025
@VedranZoricic VedranZoricic requested a review from a team September 1, 2025 12:49
@VedranZoricic VedranZoricic changed the title Fix depredacted mocha version Fix deprecated mocha version Sep 1, 2025
@VedranZoricic VedranZoricic merged commit 65d32ac into master Sep 1, 2025
5 checks passed
@VedranZoricic VedranZoricic deleted the vedran/update_mocha_version branch September 1, 2025 13:11
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.

3 participants