Skip to content

Commit

Permalink
Remove deprecated mocha/setup.rb mechanism
Browse files Browse the repository at this point in the history
Previously this was the recommended way to integrate Mocha with a test
framework. However, this mechanism was deprecated in #399 in favour of
requiring a file specific to the relevant test framework, i.e.
mocha/test_unit.rb or mocha/minitest.rb. Test frameworks like RSpec
integrate by requiring mocha/api.rb.

This old mechanism was deprecated in v1.10.0 [1,2] and so is safe to
remove now.

[1]: 36adf88
[2]: 388f44d
  • Loading branch information
floehopper committed Oct 15, 2022
1 parent f8215a1 commit 642a0ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
11 changes: 0 additions & 11 deletions lib/mocha/integration.rb

This file was deleted.

14 changes: 0 additions & 14 deletions lib/mocha/setup.rb

This file was deleted.

0 comments on commit 642a0ff

Please # to comment.