Add rudimentary spec test to WaitTillUp using vagrant-spec

Add some basic spec tests for the WaitTillUp action class to lay some
foundations. Utilize vagrant-spec pinned to a known working commit for
tests to pass consistently until they provide releases.

Requires updating some of the rspec libraries and includes
sharedcontext.rb from the jantman/vagrant-r10k project on github.
This commit is contained in:
Darragh Bailey
2016-01-25 19:07:14 +00:00
parent 3a6acf4288
commit afb53addb1
6 changed files with 97 additions and 3 deletions

View File

@@ -16,9 +16,9 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = VagrantPlugins::ProviderLibvirt::VERSION
gem.add_development_dependency "rspec-core", "~> 2.12.2"
gem.add_development_dependency "rspec-expectations", "~> 2.12.1"
gem.add_development_dependency "rspec-mocks", "~> 2.12.1"
gem.add_development_dependency "rspec-core", "~> 2.14.0"
gem.add_development_dependency "rspec-expectations", "~> 2.14.0"
gem.add_development_dependency "rspec-mocks", "~> 2.14.0"
gem.add_runtime_dependency 'fog-libvirt', '~> 0.0.1'
gem.add_runtime_dependency 'nokogiri', '~> 1.6.0'