vagrant-lxc-ng/spec
Virgil Dupras 97b5882262 Refactoring: make SudoWrapper a bit more self-contained
By looking at the code, it seems that it was a goal to make the sudo
wrapper path configurable through the Vagrantfile, but it wasn't
effective and didn't make much sense (that kind of config is a per-host
config, not a per-guest one).

This caused the cause to be needlessly complex by giving the Provider
the responsibility of instanciating the wrapper. This commit gets rid of
that.

I didn't get rid of `sudo_wrapper` injection in `Driver` and
`Driver::CLI` constructors because they're needed for tests. I'm not
ready to tackle this yet.
2018-01-13 08:32:27 -05:00
..
fixtures Move away from using ifconfig to ip addr for scanning container IPs 2013-04-05 22:10:49 -03:00
support Move unit specs example group related code to spec/unit/support 2013-04-21 18:13:34 -03:00
unit Fix test on NixOS 2015-08-02 10:15:55 +00:00
spec_helper.rb spec: Embrace rspec3 2014-03-21 19:31:34 -03:00
unit_helper.rb Convert specs to RSpec 2.99.0.beta2 syntax with Transpec 2014-03-14 11:38:54 -03:00
Vagrantfile Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00