<commit_before>require 'spec_helper'

describe 'syslogng::service' do
  context "callable with params" do
    let(:title) { 'syslog-ng' }
    let(:params) do
      {
        :ensure => 'present',
      }
    end
    it {
      should contain_file("/etc/syslog-ng/syslog-ng.conf.d/log.d/syslog-ng.conf").with(
        {
	  :ensure => 'file',
	  :source => 'puppet:///modules/syslogng/scl/syslog-ng.conf.d/log.d/syslog-ng.conf'
	}
      )
    }
  end
  context "removeable" do
    let(:title) { 'syslog-ng' }
    let(:params) do
      {
	:ensure => 'absent',
      }
    end
    it {
      should contain_file("/etc/syslog-ng/syslog-ng.conf.d/service.d/syslog-ng.conf").with({:ensure => 'absent'})
    }
  end
end<commit_msg>more whitespace and revert idiot change in spec<commit_after>require 'spec_helper'

describe 'syslogng::service' do
  context "callable with params" do
    let(:title) { 'syslog-ng' }
    let(:params) do
      {
        :ensure => 'present',
      }
    end
    it {
      should contain_file("/etc/syslog-ng/syslog-ng.conf.d/service.d/syslog-ng.conf").with(
        {
          :ensure => 'file',
          :source => 'puppet:///modules/syslogng/scl/syslog-ng.conf.d/service.d/syslog-ng.conf'
        }
      )
    }
  end
  context "removeable" do
    let(:title) { 'syslog-ng' }
    let(:params) do
      {
        :ensure => 'absent',
      }
    end
    it {
      should contain_file("/etc/syslog-ng/syslog-ng.conf.d/service.d/syslog-ng.conf").with({:ensure => 'absent'})
    }
  end
end
{'fraction_non_alphanumeric': 0.16886543535620052, 'fraction_numerical': 0.0, 'mean_word_length': 2.227659574468085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6186903', 'n_tokens_mistral': 572, 'n_tokens_neox': 566, 'n_words': 88}