Skip to content

Commit 364b2da

Browse files
Pass result object in a block for beaker5 compatibility
1 parent 8f292be commit 364b2da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acceptance/tests/resource/package/ips/should_be_updateable_and_unholdable_at_same_time.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
end
2020

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

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

0 commit comments

Comments
 (0)