diff options
author | Enis Inan <enis.inan@puppet.com> | 2018-12-13 02:10:54 -0800 |
---|---|---|
committer | Enis Inan <enis.inan@puppet.com> | 2019-01-09 08:48:17 -0800 |
commit | e76bd24dcb33ab71440633303124ea99d59b7783 (patch) | |
tree | 6cb604dc4476a28dc5c031181067bd07263d446d /spec/lib/puppet_spec/compiler.rb | |
parent | a6fe97eada00c6a78fd0036c3893bd8a8208846a (diff) | |
download | puppet-cron_core-e76bd24dcb33ab71440633303124ea99d59b7783.tar.gz puppet-cron_core-e76bd24dcb33ab71440633303124ea99d59b7783.tar.bz2 |
(maint) Add more crontab provider tests
This commit adds the following tests to the cron resource:
* A test to ensure that the crontab provider writes the crontab file of
a new user
* A test to ensure that the crontab provider fails to write the crontab
file of a nonexistent user
* A test to ensure that the crontab provider writes an originally
unauthorized user's crontab file _if_ Puppet authorizes them in the
middle of the run
These tests are part of the crontab provider's specifications and should
have been added before.
Diffstat (limited to 'spec/lib/puppet_spec/compiler.rb')
0 files changed, 0 insertions, 0 deletions