<commit_before>require 'spec_helper'

describe 'zabbix::userparameter' do
  let :node do
    'agent.example.com'
  end
  on_supported_os.each do |os, facts|
    context "on #{os} " do
      let(:facts) do
        facts
      end
      context 'with all defaults' do
        it { should contain_class('zabbix::userparameter') }
        it { should compile.with_all_deps }
      end<commit_msg>migrate userparameter_spec to central mocked facts<commit_after>require 'spec_helper'

describe 'zabbix::userparameter' do
  let :node do
    'agent.example.com'
  end
  on_supported_os.each do |os, facts|
    context "on #{os} " do
      let :facts do
        facts.merge(
          mocked_facts
        )
      end
      context 'with all defaults' do
        it { should contain_class('zabbix::userparameter') }
        it { should compile.with_all_deps }
      end
{'fraction_non_alphanumeric': 0.09186046511627907, 'fraction_numerical': 0.0, 'mean_word_length': 2.6176470588235294, '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': '5880979', 'n_tokens_mistral': 277, 'n_tokens_neox': 272, 'n_words': 74}