We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0cda858 + 08f7553 commit 43df782Copy full SHA for 43df782
spec/acceptance/fqdn_rotate_spec.rb
@@ -14,6 +14,7 @@
14
shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
15
end
16
it 'fqdn_rotates floats' do
17
+ shell("mkdir -p #{facts_d}")
18
shell("echo 'fqdn=fakehost.localdomain' > #{facts_d}/fqdn.txt")
19
pp = <<-EOS
20
$a = ['a','b','c','d']
spec/acceptance/parseyaml_spec.rb
@@ -26,7 +26,7 @@
26
EOS
27
28
apply_manifest(pp, :expect_failures => true) do |r|
29
- expect(r.stderr).to match(/syntax error/)
+ expect(r.stderr).to match(/(syntax error|did not find expected key)/)
30
31
32
0 commit comments