Package: ruby-mocha / 3.0.1-1
Metadata
| Package | Version | Patches format |
|---|---|---|
| ruby-mocha | 3.0.1-1 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| deactivate_failing_tests.patch | (download) |
test/acceptance/mocha_test_result_test.rb |
2 1 + 1 - 0 ! |
deactivate temporarily failing tests with minitest 5.0.1 |
| backtrace_regexp_match.patch | (download) |
test/unit/backtrace_filter_test.rb |
2 1 + 1 - 0 ! |
extend regexp matching mocha's path |
| privacy_breach.patch | (download) |
README.md |
2 1 + 1 - 0 ! |
remove call to external elements in readme, which, once converted |
| 0004 avoid git call in gemspec.patch | (download) |
mocha.gemspec |
2 1 + 1 - 0 ! |
avoid git call in gemspec |
| fix not init error test.patch | (download) |
test/unit/mockery_test.rb |
2 2 + 0 - 0 ! |
restore mockery @instances after deliberately nil'ing it The MockeryNeverSetupTest deliberately sets @instances to nil to check that teardown raises NotInitializedError. When the Minitest integration is loaded (giving us per-test verification), its before_teardown hook runs after the test method and crashes on the nil @instances. . Restore the original value after the assertion so the hook can run cleanly (defaulting to [] for an empty mockery if it was nil). |
