Skip to content

Commit

Permalink
Fixes for PE3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Penney committed Jun 3, 2014
1 parent 0cda858 commit 08f7553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions spec/acceptance/fqdn_rotate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
end
it 'fqdn_rotates floats' do
shell("mkdir -p #{facts_d}")
shell("echo 'fqdn=fakehost.localdomain' > #{facts_d}/fqdn.txt")
pp = <<-EOS
$a = ['a','b','c','d']
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/parseyaml_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
EOS

apply_manifest(pp, :expect_failures => true) do |r|
expect(r.stderr).to match(/syntax error/)
expect(r.stderr).to match(/(syntax error|did not find expected key)/)
end
end

Expand Down

0 comments on commit 08f7553

Please sign in to comment.