summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/group_checkout/negative
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/beaker/git/group_checkout/negative')
-rw-r--r--spec/acceptance/beaker/git/group_checkout/negative/group_checkout_file_non_existent_group.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/acceptance/beaker/git/group_checkout/negative/group_checkout_file_non_existent_group.rb b/spec/acceptance/beaker/git/group_checkout/negative/group_checkout_file_non_existent_group.rb
index 5bce264..5388f7f 100644
--- a/spec/acceptance/beaker/git/group_checkout/negative/group_checkout_file_non_existent_group.rb
+++ b/spec/acceptance/beaker/git/group_checkout/negative/group_checkout_file_non_existent_group.rb
@@ -14,7 +14,7 @@ hosts.each do |host|
end
step 'setup - delete group' do
- apply_manifest_on(host, "group { '#{group}': ensure => absent, }")
+ apply_manifest_on(host, "group { '#{group}': ensure => absent, }", :catch_failures => true)
end
teardown do
@@ -31,8 +31,7 @@ hosts.each do |host|
}
EOS
- apply_manifest_on(host, pp)
- apply_manifest_on(host, pp)
+ apply_manifest_on(host, pp, :expect_failures => true)
end
step "verify git checkout is NOT owned by group #{group}" do