aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJorie Tappa <jorie@jorietappa.com>2018-08-01 10:51:11 -0500
committerJorie Tappa <jorie@jorietappa.com>2018-08-01 10:51:11 -0500
commit2164cbe478d0d95568832c9de45a66b3ead21301 (patch)
tree4eac576775bc8aacab02fcc35e09ff1a9dfad67d /spec
parente653213db005d50d0c525b69ad2d90c57c888351 (diff)
downloadpuppet-cron_core-2164cbe478d0d95568832c9de45a66b3ead21301.tar.gz
puppet-cron_core-2164cbe478d0d95568832c9de45a66b3ead21301.tar.bz2
Disable Security/YAMLLoad
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/provider/cron/crontab_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/cron/crontab_spec.rb b/spec/unit/provider/cron/crontab_spec.rb
index bda7ddc..08d78ba 100644
--- a/spec/unit/provider/cron/crontab_spec.rb
+++ b/spec/unit/provider/cron/crontab_spec.rb
@@ -34,7 +34,7 @@ describe Puppet::Type.type(:cron).provider(:crontab) do
########################################################################
# Simple input fixtures for testing.
- samples = YAML.load(File.read(my_fixture('single_line.yaml')))
+ samples = YAML.load(File.read(my_fixture('single_line.yaml'))) # rubocop:disable Security/YAMLLoad
samples.each do |name, data|
it "should parse crontab line #{name} correctly" do