<commit_before>require 'spec_helper'

describe 'mysql_java_connector' do
  context 'supported operating systems' do
    on_supported_os.each do |os, facts|
      context "on #{os}" do
        let(:facts) do
          facts
        end
        context "mysql_java_connector class without any parameters" do
          let(:params) {{ }}
          it { is_expected.to compile.with_all_deps }
          it { is_expected.to contain_class('mysql_java_connector') }
          it { is_expected.to contain_class('mysql_java_connector::install') }
          it { is_expected.to contain_file('/opt/MySQL-connector').with_ensure('directory') }
          it { is_expected.to contain_file('/opt/MySQL-connector/latest')
            .with({
              'ensure' => 'link',
              'target' => '/opt/MySQL-connector/mysql-connector-java-5.1.38',<commit_msg>rubocop: fix Style/SpaceInsideBlockBraces<commit_after>require 'spec_helper'

describe 'mysql_java_connector' do
  context 'supported operating systems' do
    on_supported_os.each do |os, facts|
      context "on #{os}" do
        let(:facts) do
          facts
        end
        context "mysql_java_connector class without any parameters" do
          let(:params) { { } }
          it { is_expected.to compile.with_all_deps }
          it { is_expected.to contain_class('mysql_java_connector') }
          it { is_expected.to contain_class('mysql_java_connector::install') }
          it { is_expected.to contain_file('/opt/MySQL-connector').with_ensure('directory') }
          it { is_expected.to contain_file('/opt/MySQL-connector/latest')
            .with({
              'ensure' => 'link',
              'target' => '/opt/MySQL-connector/mysql-connector-java-5.1.38',
{'fraction_non_alphanumeric': 0.11805555555555555, 'fraction_numerical': 0.004629629629629629, 'mean_word_length': 2.647679324894515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2481469', 'n_tokens_mistral': 507, 'n_tokens_neox': 499, 'n_words': 101}