Skip to content

Commit

Permalink
Merge pull request redhat-openstack#264 from apenney/fixes-for-tests
Browse files Browse the repository at this point in the history
Fixes for PE3.3.
  • Loading branch information
Morgan Haskel authored and Ashley Penney committed Jun 3, 2014
1 parent fa45d59 commit a364605
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 a364605

Please sign in to comment.