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

Support handle sudo password #51

merged 1 commit into from Apr 10, 2013


None yet
2 participants
Copy link

tomohiro commented Apr 10, 2013

I've implemented the issue #26

RSpec configuration example

# spec/spec_helper.rb
RSpec.configure do |c|
  c.before do
    # some configuration
    c.ssh   = Net::SSH.start(, user, options)
    c.sudo_password = ENV['SUDO_PASSWORD']

And run test.

$ SUDO_PASSWORD=foobar rake spec

@mizzy mizzy merged commit 8f0d1ee into mizzy:master Apr 10, 2013

1 check passed

default The Travis build passed

This comment has been minimized.

Copy link

mizzy commented Apr 10, 2013

Very Nice! Thanks!

I've fixed a little. See 917ec94 and 789fd01 .

And released as v0.2.5.

@tomohiro tomohiro deleted the tomohiro:handle-sudo-password branch Apr 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment