Skip to content

Commit

Permalink
Merge pull request #5497 from er0ck/acceptance/master/PUP-7081-object…
Browse files Browse the repository at this point in the history
…s_in_catalog_fix

(PUP-7081) acceptance: fix objects_in_catalog
  • Loading branch information
thallgren committed Jan 12, 2017
2 parents 38b9889 + 6117973 commit f9bffba
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions acceptance/tests/language/objects_in_catalog.rb
Expand Up @@ -39,13 +39,10 @@ class mod {
end

step "apply manifest on agent #{agent.hostname} and assert notify output" do
create_test_file(agent, "manifest.pp", <<-MANIFEST)
MANIFEST
end

apply_manifest_on(agent, manifest) do |result|
assert(result.exit_code == 0, "agent didn't exit properly: (#{result.exit_code})")
assert_match(/A foo/, result.stdout, 'agent didn\'t notify correctly')
apply_manifest_on(agent, manifest) do |result|
assert(result.exit_code == 0, "agent didn't exit properly: (#{result.exit_code})")
assert_match(/A foo/, result.stdout, 'agent didn\'t notify correctly')
end
end
end
end
Expand Down

0 comments on commit f9bffba

Please sign in to comment.