vagrant/test/unit/plugins
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
..
commands Add unique names to all tmpdir and tempfile calls in tests + cleanup 2016-05-28 23:22:34 -04:00
communicators/winrm powershell and cmd calls should use commnand_executor to reuse oprn winrm shell 2016-01-27 11:59:10 -08:00
guests Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
hosts/darwin/cap Add extra_args cap for darwin rdp 2016-02-03 10:03:57 -05:00
kernel_v2/config Fix broken test; Add explicit test 2016-05-04 17:26:46 +12:00
providers Cleanup more files in tests 2016-05-29 00:34:00 -04:00
provisioners provisoners/ansible: improve config test coverage 2016-05-29 17:01:37 +02:00
pushes Cleanup more files in tests 2016-05-29 00:34:00 -04:00
synced_folders commands/rsync-auto: check machine ID prior to sync [GH-4031] 2014-08-06 16:56:09 -07:00