<commit_before>require_relative '../../spec_helper'

["production", "preview"].each { |environment|

  describe 'govuk_base::redirect_server', :type => :class do
    let(:facts) { { :govuk_class => "redirect", :govuk_platform => environment } }
    it { should_not raise_error(Puppet::ParseError) }
  end

  describe 'govuk_base::db_server', :type => :class do<commit_msg>Revert "kill this test until we want to move puppet back to govuk_base"<commit_after>require_relative '../../spec_helper'

["production", "preview"].each { |environment|

  describe 'govuk_base', :type => :class do
    it { should include_class('puppet') }
  end

  describe 'govuk_base::redirect_server', :type => :class do
    let(:facts) { { :govuk_class => "redirect", :govuk_platform => environment } }
    it { should_not raise_error(Puppet::ParseError) }
  end

  describe 'govuk_base::db_server', :type => :class do
{'fraction_non_alphanumeric': 0.1553072625698324, 'fraction_numerical': 0.0, 'mean_word_length': 4.973333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '897972', 'n_tokens_mistral': 291, 'n_tokens_neox': 284, 'n_words': 68}