forked from mattbrictson/airbrussh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to work with sshkit master / no user
This accounts for changes in sshkit's local username lookup introduced by capistrano/sshkit#293 and also accounts for the conditional formatting changes introduced by mattbrictson#66. The latter did not previously cause failed tests, because the username was stubbed in the tests, causing the relevant code to not be exercised. Now the username is looked up through sshkit, which results in an empty username on sshkit < 1.7.0, so the no-username display is triggered. Unfortunately we need to keep the Etc stub for now to avoid crashing on Windows with sshkit 1.7.0 and 1.7.1.
- Loading branch information
1 parent
c7b73b5
commit a633f64
Showing
1 changed file
with
19 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters