<commit_before>require 'spec_helper.rb'
require 'resqutils/spec/resque_helpers'
require 'resqutils/spec/resque_matchers'
require 'pwwka/queue_resque_job_handler'

require_relative "support/integration_test_setup"
require_relative "support/logging_receiver"
require_relative "support/integration_test_helpers"

describe "sending and receiving messages", :integration do
  include IntegrationTestHelpers
  include Resqutils::Spec::ResqueHelpers

  let(:async_resque_queue) { 'pwwka_send_message_async' }
  let(:delayed_resque_queue) { :delayed }

  before do<commit_msg>Manually include Rails time helper used by 2.seconds<commit_after>require 'spec_helper.rb'
require 'resqutils/spec/resque_helpers'
require 'resqutils/spec/resque_matchers'
require 'pwwka/queue_resque_job_handler'
require 'active_support/time'

require_relative "support/integration_test_setup"
require_relative "support/logging_receiver"
require_relative "support/integration_test_helpers"

describe "sending and receiving messages", :integration do
  include IntegrationTestHelpers
  include Resqutils::Spec::ResqueHelpers

  let(:async_resque_queue) { 'pwwka_send_message_async' }
  let(:delayed_resque_queue) { :delayed }

  before do
{'fraction_non_alphanumeric': 0.08132780082987552, 'fraction_numerical': 0.0008298755186721991, 'mean_word_length': 8.571428571428571, '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': '5034344', 'n_tokens_mistral': 388, 'n_tokens_neox': 379, 'n_words': 70}