Skip to content

Commit

Permalink
Fix Mocha deprecation warning
Browse files Browse the repository at this point in the history
```
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'.
```
  • Loading branch information
mishina2228 committed Oct 22, 2022
1 parent 7d685a2 commit 5871b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'test/unit'
require 'mocha/setup'
require 'mocha/test_unit'

begin
gem 'net-ssh', ">= 2.0.0"
Expand Down

0 comments on commit 5871b93

Please sign in to comment.