<commit_before>require 'spec_helper'

describe 'camelCaseFunction' do
  it { is_expected.not_to be_nil }
  it { is_expected.to run.with_params().and_raise_error(Puppet::ParseError, /Requires 1 argument/) }
  it { is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError, /Argument must be a string/) }
  it { is_expected.to run.with_params('test').and_return('test') }
end<commit_msg>Convert tests over to should syntax to keep old rspec happy<commit_after>require 'spec_helper'

describe 'camelCaseFunction' do
  it { should_not be_nil }
  it { should run.with_params().and_raise_error(Puppet::ParseError, /Requires 1 argument/) }
  it { should run.with_params(1).and_raise_error(Puppet::ParseError, /Argument must be a string/) }
  it { should run.with_params('test').and_return('test') }
end
{'fraction_non_alphanumeric': 0.12158808933002481, 'fraction_numerical': 0.004962779156327543, 'mean_word_length': 5.781512605042017, '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': '1201229', 'n_tokens_mistral': 276, 'n_tokens_neox': 271, 'n_words': 61}