Skip to content

Commit

Permalink
Merge pull request #9260 from tvpartytonight/PUP-11942_beaker5
Browse files Browse the repository at this point in the history
Pass result object in a block for beaker5 compatibility
  • Loading branch information
tvpartytonight authored Feb 22, 2024
2 parents c89c05d + 364b2da commit dd1bb20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
end

step "IPS: it should create and hold in same manifest" do
apply_manifest_on(agent, 'package {mypkg : ensure=>"0.0.1", mark=>hold}') do
apply_manifest_on(agent, 'package {mypkg : ensure=>"0.0.1", mark=>hold}') do |result|
assert_match( /ensure: created/, result.stdout, "err: #{agent}")
end
end
Expand All @@ -30,7 +30,7 @@
end

step "IPS: ensure it was upgraded" do
on agent, "pkg list -v mypkg" do
on agent, "pkg list -v mypkg" do |result|
assert_match( /[email protected]/, result.stdout, "err: #{agent}")
end
end
Expand Down

0 comments on commit dd1bb20

Please sign in to comment.