vagrant/test
Gilles Cornu 8190fba872 provisoners/ansible: improve config test coverage
Changes:

- Add "config" unit tests for `ansible_local` (guest)
- Share some "config" examples between both ansible provisioners
- Move `config_host.rb` specific examples to `config/host.rb`
- Add a requirement to "../helpers" in `config/guest.rb` in order to be
  able to run the related unit tests

References:

- This is the first part of GH-6633 resolution
- This change is a handy prerequisite for GH-6570

Not addressed yet:

- FIXME (guest.rb): Some test-double stubs are currently not working as
  expected, and the related checks are commented out for the moment
  (no idea why, but this is not urgent to be fixed because of GH-7335
  rejection. See also GH-6984)
- FIXME (shared.rb): The guest-based config should actually NOT return
  an error when the extra_vars file cannot be found, but only display a
  a warning (similarly to the changes done for GH-6763, see 4e451c6)
2016-05-29 17:01:37 +02:00
..
acceptance Add acceptance test for linked clones 2015-11-25 00:23:19 +02:00
config Add `rake acceptance:boxes` to download required boxes for tests 2011-11-13 13:37:30 -08:00
support Add unique names to all tmpdir and tempfile calls in tests + cleanup 2016-05-28 23:22:34 -04:00
unit provisoners/ansible: improve config test coverage 2016-05-29 17:01:37 +02:00