Skip to content

Commit 5871b93

Browse files
committed
Fix Mocha deprecation warning
``` Mocha deprecation warning at /.../net-scp/test/common.rb:2:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'. ```
1 parent 7d685a2 commit 5871b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'test/unit'
2-
require 'mocha/setup'
2+
require 'mocha/test_unit'
33

44
begin
55
gem 'net-ssh', ">= 2.0.0"

0 commit comments

Comments
 (0)