From 79180eb1a5ddffc404df965617dbfcc7d6691c42 Mon Sep 17 00:00:00 2001 From: Jorie Tappa Date: Wed, 8 Aug 2018 11:17:33 -0500 Subject: Fix Layout/CommentIndentation violation --- spec/unit/provider/cron/crontab_spec.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'spec/unit/provider') diff --git a/spec/unit/provider/cron/crontab_spec.rb b/spec/unit/provider/cron/crontab_spec.rb index 08d78ba..031b3ae 100644 --- a/spec/unit/provider/cron/crontab_spec.rb +++ b/spec/unit/provider/cron/crontab_spec.rb @@ -128,17 +128,17 @@ describe Puppet::Type.type(:cron).provider(:crontab) do subject.stubs(:prefetch_all_targets).returns([record]) end -# this would be a more fitting test, but I haven't yet -# figured out how to get it working -# it "should include both jobs in the output" do -# subject.prefetch(resources) -# class Puppet::Provider::ParsedFile -# def self.records -# @records -# end -# end -# subject.to_file(subject.records).should match /Puppet name: test/ -# end + # this would be a more fitting test, but I haven't yet + # figured out how to get it working + # it "should include both jobs in the output" do + # subject.prefetch(resources) + # class Puppet::Provider::ParsedFile + # def self.records + # @records + # end + # end + # subject.to_file(subject.records).should match /Puppet name: test/ + # end it "does not base the new resource's provider on the existing record" do subject.expects(:new).with(record).never -- cgit v1.2.3