aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/provider/cron/crontab_spec.rb22
1 files changed, 11 insertions, 11 deletions
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