Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support handle sudo password #51
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