blob: bbbdefc15dd002dfb395152d4669bd20bd941e49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Ported from a collection of small spec tests in acceptance.
#
# Unified into a single file because they are literally one-line tests!
test_name "Trivial puppet tests"
step "check that puppet apply displays notices"
apply_manifest_on(agents, "notice 'Hello World'") do
stdout =~ /notice:.*Hello World/ or fail_test("missing notice!")
end
step "verify help displays something for puppet master"
on master, puppet_master("--help") do
stdout =~ /puppet master/ or fail_test("improper help output")
end
|