<commit_before>require "test_helper"

class GenericEditionPresenterTest < ActiveSupport::TestCase
  include GovukContentSchemaTestHelpers::TestUnit

  context ".render_for_publishing_api with a published document" do
    setup do
      artefact = FactoryGirl.create(:artefact)<commit_msg>Fix schema-type clash in upstream project CI<commit_after>require "test_helper"

class GenericEditionPresenterTest < ActiveSupport::TestCase
  include GovukContentSchemaTestHelpers::TestUnit

  context ".render_for_publishing_api with a published document" do
    setup do
      artefact = FactoryGirl.create(:artefact, kind: :video)
{'fraction_non_alphanumeric': 0.0644122383252818, 'fraction_numerical': 0.0, 'mean_word_length': 6.404761904761905, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2141979', 'n_tokens_mistral': 173, 'n_tokens_neox': 168, 'n_words': 43}