<commit_before>require 'spec_helper'

describe 'Monit Daemon' do
  it 'is enabled' do
    expect(service('monit')).to be_enabled
  end

  it 'is running' do
    expect(process('monit')).to be_running
  end

  it 'is listening on port 2812' do
    expect(port(2812)).to be_listening
  end

  it 'is monitoring sshd' do
    expect(command('/etc/init.d/monit status').stdout).to match /sshd/
  end
end<commit_msg>temporary bump to use sudo until kitchen-bluebox depends on test-kitchen >= 1.1<commit_after>require 'spec_helper'

describe 'Monit Daemon' do
  it 'is enabled' do
    expect(service('monit')).to be_enabled
  end

  it 'is running' do
    expect(process('monit')).to be_running
  end

  it 'is listening on port 2812' do
    expect(port(2812)).to be_listening
  end

  it 'is monitoring sshd' do
    expect(command('sudo /etc/init.d/monit status').stdout).to match /sshd/
  end
end
{'fraction_non_alphanumeric': 0.11335578002244669, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 3.694736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3399878', 'n_tokens_mistral': 328, 'n_tokens_neox': 306, 'n_words': 92}