From 2164cbe478d0d95568832c9de45a66b3ead21301 Mon Sep 17 00:00:00 2001 From: Jorie Tappa Date: Wed, 1 Aug 2018 10:51:11 -0500 Subject: Disable Security/YAMLLoad --- spec/unit/provider/cron/crontab_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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 -- cgit v1.2.3