Skip to content

Commit 43df782

Browse files
author
Morgan Haskel
committed
Merge pull request #264 from apenney/fixes-for-tests
Fixes for PE3.3.
2 parents 0cda858 + 08f7553 commit 43df782

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/acceptance/fqdn_rotate_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
1515
end
1616
it 'fqdn_rotates floats' do
17+
shell("mkdir -p #{facts_d}")
1718
shell("echo 'fqdn=fakehost.localdomain' > #{facts_d}/fqdn.txt")
1819
pp = <<-EOS
1920
$a = ['a','b','c','d']

spec/acceptance/parseyaml_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
EOS
2727

2828
apply_manifest(pp, :expect_failures => true) do |r|
29-
expect(r.stderr).to match(/syntax error/)
29+
expect(r.stderr).to match(/(syntax error|did not find expected key)/)
3030
end
3131
end
3232

0 commit comments

Comments
 (0)