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
merged 1 commit into from Apr 10, 2013

Conversation

Projects
None yet
2 participants
@Tomohiro
Contributor

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(c.host, user, options)
    c.sudo_password = ENV['SUDO_PASSWORD']
  end
end

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
Details
@mizzy

This comment has been minimized.

Show comment
Hide comment
@mizzy

mizzy Apr 10, 2013

Owner

Very Nice! Thanks!

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

And released as v0.2.5.

Owner

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