<commit_before># encoding: utf-8

require 'spec_helper'

describe 'kafka::binary' do
  describe file('/opt/kafka/build') do
    it { should be_a_directory }
    it { should be_mode 755 }
    it { should be_owned_by('kafka') }
    it { should be_grouped_into('kafka') }
  end

  describe file('/tmp/kitchen-chef-solo/cache/kafka_2.8.0-0.8.0-beta1.tgz') do
    it { should be_a_file }
    it { should be_mode 644 }
    it { should match_md5checksum 'b90e355ea2bc1e5f62db1836fdd77502' }
  end

  describe file('/opt/kafka/kafka_2.9.2-0.8.0-beta1.jar') do
    it { should be_a_file }
    it { should be_owned_by('kafka') }
    it { should be_grouped_into('kafka') }
  end
end<commit_msg>Test the right things in binary integration specs<commit_after># encoding: utf-8

require 'spec_helper'

describe 'kafka::binary' do
  describe file('/opt/kafka/dist') do
    it { should be_a_directory }
    it { should be_mode 755 }
    it { should be_owned_by('kafka') }
    it { should be_grouped_into('kafka') }
  end

  describe file('/tmp/kitchen-chef-solo/cache/kafka_2.8.0-0.8.0-beta1.tgz') do
    it { should be_a_file }
    it { should be_mode 644 }
    it { should match_md5checksum 'f12e7698aff37a0e014cb9dc087f0b8f' }
  end

  describe file('/opt/kafka/kafka_2.8.0-0.8.0-beta1.jar') do
    it { should be_a_file }
    it { should be_owned_by('kafka') }
    it { should be_grouped_into('kafka') }
  end
end
{'fraction_non_alphanumeric': 0.1256245538900785, 'fraction_numerical': 0.057815845824411134, 'mean_word_length': 3.38125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '135697', 'n_tokens_mistral': 595, 'n_tokens_neox': 560, 'n_words': 114}