class Chef::Resource::Cron

Public Instance Methods

to_serverspec() click to toggle source
# File lib/chef/handler/resources/cron.rb, line 4
      def to_serverspec
        <<-EOT

  describe cron do
    it { should have_entry('#{minute} #{hour} #{day} #{month} #{weekday} #{command}').with_user('#{user}') }
  end
EOT
      end