<commit_before>require 'test_helper'
class HoldingRequestsHelperTest < ActionView::TestCase
  include Nyulibraries::ApplicationHelper
  include Nyulibraries::HtmlHelper

  setup do
    @holding = nil
    @requested_holding = Holding.new(service_responses(:nyu_primo_naked_statistics))
    @available_holding = Holding.new(service_responses(:nyu_aleph_available_book))
    @offsite_holding = Holding.new(service_responses(:nyu_aleph_offsite_book))
    @checked_out_holding = Holding.new(service_responses(:nyu_aleph_recall_book))
    @in_processing_holding = Holding.new(service_responses(:nyu_aleph_in_processing_book))
    # @on_order_holding = Holding.new(service_responses(:nyu_aleph_on_order_book))<commit_msg>Add proper namespace to the NYU Libraries asset helper includes<commit_after>require 'test_helper'
class HoldingRequestsHelperTest < ActionView::TestCase
  include Nyulibraries::Assets::ApplicationHelper
  include Nyulibraries::Assets::HtmlHelper

  setup do
    @holding = nil
    @requested_holding = Holding.new(service_responses(:nyu_primo_naked_statistics))
    @available_holding = Holding.new(service_responses(:nyu_aleph_available_book))
    @offsite_holding = Holding.new(service_responses(:nyu_aleph_offsite_book))
    @checked_out_holding = Holding.new(service_responses(:nyu_aleph_recall_book))
    @in_processing_holding = Holding.new(service_responses(:nyu_aleph_in_processing_book))
    # @on_order_holding = Holding.new(service_responses(:nyu_aleph_on_order_book))
{'fraction_non_alphanumeric': 0.08701472556894244, 'fraction_numerical': 0.0, 'mean_word_length': 8.462025316455696, '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': '5894171', 'n_tokens_mistral': 500, 'n_tokens_neox': 471, 'n_words': 58}