mizzy/serverspec — pull request #51 by Tomohiro (2013-04-10 08:27:37+00:00)
Title: Support handle sudo password

I'm implement issue #26

RSpec configuration example

```ruby
# 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.

```sh
$ SUDO_PASSWORD=foobar rake spec
```