Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ruby-net-ssh-multi
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Ruby Team
ruby-net-ssh-multi
Commits
229a2f07
Verified
Commit
229a2f07
authored
6 months ago
by
Vivek K J
Browse files
Options
Downloads
Patches
Plain Diff
Add patch to fix FTBFS with mocha 2 (Closes: #1090871)
parent
0314a829
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/fix-test-for-mocha-2.patch
+16
-0
16 additions, 0 deletions
debian/patches/fix-test-for-mocha-2.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
17 additions
and
0 deletions
debian/patches/fix-test-for-mocha-2.patch
0 → 100644
+
16
−
0
View file @
229a2f07
Description: Fix FTBFS with ruby-mocha 2
Author: Vivek K J <vivekkj@disroot.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090871
Last-Update: 2024-12-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/common.rb
+++ b/test/common.rb
@@ -1,5 +1,6 @@
require 'minitest/autorun'
-require 'mocha/setup'
+# require 'mocha/setup'
+require 'mocha/minitest'
if Minitest.const_defined?('Test')
# We're on Minitest 5+. Nothing to do here.
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
229a2f07
fix-test-for-mocha-2.patch
require-timeout.patch
failing_tests_mocha_1.2.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment