Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 3b881ee

Browse files
committed
update tests
1 parent c0cdc63 commit 3b881ee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

manifests/instance.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
require => Archive["${instance_name}-${archive_name}"],
130130
}
131131

132-
if $ensure == "present" {
132+
if $ensure == 'present' {
133133
exec { "${instance_name}-check-runner-configured":
134134
user => $user,
135135
cwd => '/srv',

spec/classes/github_actions_runner_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,10 @@
379379
is_expected.to contain_file('/some_dir/actions-runner-2.272.0/first_runner/configure_install_runner.sh').with(
380380
'ensure' => 'absent',
381381
)
382+
383+
is_expected.not_to contain_exec('first_runner-check-runner-configured')
384+
is_expected.to contain_exec('first_runner-ownership')
385+
is_expected.to contain_exec('first_runner-run_configure_install_runner.sh')
382386
end
383387
end
384388

0 commit comments

Comments
 (0)