<commit_before>require 'spec_helper'

describe 'networkmanager::interface' do
  let(:node) { 'no_include' }
  let(:title) { 'interface1' }
  let(:params) { {:device => 'eth0'} }

  it do
    expect {
      should compile
    }.to raise_error(Puppet::Error, /You must include the base class before defining an interface/)
  end
end<commit_msg>try to fix failing tests<commit_after>require 'spec_helper'

describe 'networkmanager::interface' do
  let(:node) { 'no_include' }
  let(:title) { 'interface1' }
  let(:params) { {:device => 'eth0'} }

#  it do
#    expect {
#      should compile
  #    }.to raise_error(Puppet::Error, /You must include the base class before defining an interface/)
  it { should compile.and_raise_error(/You must include the base class before defining an interface/) }
  end
end
{'fraction_non_alphanumeric': 0.12546583850931678, 'fraction_numerical': 0.004968944099378882, 'mean_word_length': 4.0375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3216036', 'n_tokens_mistral': 257, 'n_tokens_neox': 249, 'n_words': 77}