From 5163c86b0ff5805b2aaa16e8c754b00de203c329 Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Wed, 28 Oct 2015 20:05:04 -0400 Subject: [PATCH] PR #34 - fix expected output in acceptance test --- spec/acceptance/vagrant-r10k/vagrant-r10k_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/vagrant-r10k/vagrant-r10k_spec.rb b/spec/acceptance/vagrant-r10k/vagrant-r10k_spec.rb index b154562..f6edb8b 100644 --- a/spec/acceptance/vagrant-r10k/vagrant-r10k_spec.rb +++ b/spec/acceptance/vagrant-r10k/vagrant-r10k_spec.rb @@ -177,7 +177,7 @@ status("Test: vagrant up") up_result = execute('vagrant', 'up', "--provider=#{provider}", '--debug') expect(up_result).to exit_with(1) - expect(up_result.stderr).to match(%r"RuntimeError: Couldn't update git cache for https://invalidhost\.jasonantman\.com/jantman/puppet-reviewboard\.git: \"fatal: unable to access 'https://invalidhost\.jasonantman\.com/jantman/puppet-reviewboard\.git/': Could not resolve host: invalidhost\.jasonantman\.com\"\n\nIf you don't have connectivity to the host, running 'vagrant up --no-provision' will skip r10k deploy and all provisioning") + expect(up_result.stderr).to match(%r"fatal: unable to access 'https://invalidhost\.jasonantman\.com/jantman/puppet-reviewboard\.git/': Could not resolve host: invalidhost\.jasonantman\.com\nExit code: 128\n\nIf you don't have connectivity to the host, running 'vagrant up --no-provision' will skip r10k deploy and all provisioning") ensure_puppet_didnt_run(up_result) end end