-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tunnel_options in ssh_generator #176
Add tunnel_options in ssh_generator #176
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems good to me. I'm bummed I didn't catch all the contexts and tests being named wrong. If you're up for fixing them, that'd be great, but I wont' block this on that. Or do another PR or whatever.
I'll give this a day or two for @NaomiReeves or @davide125 to review this before I (or they) merge it.
allow(mock_so).to receive(:stdout).and_return(mock_generated_cmd) | ||
end | ||
|
||
it 'test ssh generated command' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit, the tests (the it
statements) should be named for what the thing is supposed to DO. So it should be like it "generates commands"
. Meanwhile the "contexts" should be "when" statements to describe the context. because then the output is like:
* when using custom generators
* it generates a proper non-tunnel command
* it generates a proper tunnel command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will pull separate PR for this - fix all specs. :) |
#177 for tracking this |
catping :) |
Context in the open issue #175
Testing