index int64 0 0 | repo_id stringclasses 829
values | file_path stringlengths 34 254 | content stringlengths 6 5.38M |
|---|---|---|---|
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/sign_in/delete_expired_sessions_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe SignIn::DeleteExpiredSessionsJob do
let!(:expired_oauth_session) { create(:oauth_session, refresh_expiration: 3.days.ago) }
let!(:active_oauth_session) { create(:oauth_session, refresh_expiration: 3.days.from_now) }
describe '#perform' do
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/sign_in/certificate_checker_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe SignIn::CertificateCheckerJob, type: :job do
subject(:job) { described_class.new }
before do
allow(Rails.logger).to receive(:warn)
end
describe '#perform' do
%i[service_account_config client_config].each do |factory_name|
cont... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/submit_form686c_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/job_retry'
RSpec.describe BGS::SubmitForm686cJob, type: :job do
let(:job) { subject.perform(user.uuid, dependency_claim.id, encrypted_vet_info) }
let(:user) { create(:evss_user, :loa3) }
let(:dependency_claim) { create(:dependency_claim) }
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/submit_form674_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/job_retry'
RSpec.describe BGS::SubmitForm674Job, type: :job do
# performance tweak
before do
allow_any_instance_of(SavedClaim::DependencyClaim).to receive(:pdf_overflow_tracking)
end
let(:user) { create(:evss_user, :loa3, :with_terms_o... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/submit_form674_v2_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/job_retry'
RSpec.describe BGS::SubmitForm674V2Job, type: :job do
# Performance tweak
before { allow_any_instance_of(SavedClaim::DependencyClaim).to receive(:pdf_overflow_tracking) }
let(:user) { create(:evss_user, :loa3, :with_terms_of_use_a... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe BGS::Job, type: :job do
let(:user) { create(:evss_user, :loa3) }
let(:dependency_claim) { create(:dependency_claim) }
let(:all_flows_payload) { build(:form_686c_674_kitchen_sink) }
let(:all_flows_payload_v2) { build(:form686c_674_v2) }
des... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/submit_form686c_v2_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/job_retry'
RSpec.describe BGS::SubmitForm686cV2Job, type: :job do
let(:job) { subject.perform(user.uuid, dependency_claim.id, encrypted_vet_info) }
let(:user) { create(:evss_user, :loa3) }
let(:dependency_claim) { create(:dependency_claim) }
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/bgs/flash_updater_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe BGS::FlashUpdater, type: :job do
subject { described_class }
let(:user) { create(:evss_user, :loa3) } # ssn 796043735
let(:submission) { create(:form526_submission, :with_uploads, user_uuid: user.uuid) }
let(:ssn) { submission.auth_headers['... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/dependents/form686c674_failure_email_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Dependents::Form686c674FailureEmailJob, type: :job do
let(:job) { described_class.new }
let(:claim_id) { 123 }
let(:email) { 'test@example.com' }
let(:template_id) { 'test-template-id' }
let(:claim) do
instance_double(
SavedClaim:... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/preneeds/delete_old_uploads_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Preneeds::DeleteOldUploads, type: :model do
let(:job) { described_class.new }
describe '::EXPIRATION_TIME' do
it 'is 2.months' do
expect(described_class::EXPIRATION_TIME).to eq(2.months)
end
end
describe '#uuids_to_keep' do
... |
0 | code_files/vets-api-private/spec/sidekiq/simple_forms_api | code_files/vets-api-private/spec/sidekiq/simple_forms_api/notification/send_notification_email_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe SimpleFormsApi::Notification::SendNotificationEmailJob, type: :worker do
subject(:perform) { described_class.new.perform(benefits_intake_uuid, form_number) }
let(:form_submission_attempt) { create(:form_submission_attempt, :failure) }
let(:for... |
0 | code_files/vets-api-private/spec/sidekiq/simple_forms_api | code_files/vets-api-private/spec/sidekiq/simple_forms_api/form_remediation/upload_retry_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'simple_forms_api/form_remediation/configuration/vff_config'
RSpec.describe SimpleFormsApi::FormRemediation::UploadRetryJob, type: :worker do
let(:file) { instance_double(CarrierWave::SanitizedFile, filename: 'test_file.txt') }
let(:directory) { 'test/d... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/unified_health_data/labs_refresh_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'unified_health_data/service'
Sidekiq::Testing.fake!
RSpec.describe UnifiedHealthData::LabsRefreshJob, type: :job do
let(:user) { create(:user, :loa3) }
let(:uhd_service) { instance_double(UnifiedHealthData::Service) }
let(:labs_data) { [instance_dou... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/unified_health_data/facility_name_cache_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'lighthouse/facilities/v1/client'
require 'lighthouse/facilities/v1/response'
RSpec.describe UnifiedHealthData::FacilityNameCacheJob, type: :job do
subject(:job) { described_class.new }
let(:mock_lighthouse_client) { instance_double(Lighthouse::Facilit... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/evss/delete_old_claims_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DeleteOldClaims do
before do
@claim_nil = create(:evss_claim, updated_at: nil)
@claim_new = create(:evss_claim, updated_at: Time.now.utc)
@claim_old = create(:evss_claim, updated_at: 2.days.ago)
end
describe '#perform' do
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/evss/failure_notification_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'evss/failure_notification'
require 'va_notify/service'
RSpec.describe EVSS::FailureNotification, type: :job do
subject { described_class }
let(:notify_client_stub) { instance_double(VaNotify::Service) }
let(:user_account) { create(:user_account) }
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/evss/document_upload_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/testing'
Sidekiq::Testing.fake!
require 'evss/document_upload'
require 'va_notify/service'
require 'lighthouse/benefits_documents/constants'
require 'lighthouse/benefits_documents/utilities/helpers'
RSpec.describe EVSS::DocumentUpload, type: :job ... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/evss/request_decision_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::RequestDecision, type: :job do
let(:client_stub) { instance_double(EVSS::ClaimsService) }
let(:user) { build(:user, :loa3) }
let(:auth_headers) { EVSS::AuthHeaders.new(user).to_h }
let(:evss_id) { 189_625 }
it 'posts a waiver to EVSS... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_form526_all_claim_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'disability_compensation/factories/api_provider_factory'
require 'contention_classification/client'
# pulled from vets-api/spec/support/disability_compensation_form/submissions/only_526.json
ONLY_526_JSON_CLASSIFICATION_CODE = 'string'
RSpec.describe EVSS:... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_form0781_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::SubmitForm0781, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
# Toggle off all flippers
allow(Flipper).to receive(:enabled?)
.with(:disability_compensation_use_api_... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_uploads_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::SubmitUploads, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
Flipper.disable(:disability_compensation_use_api_provider_for_submit_veteran_upload)
Flipper.disable(:form52... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_form526_cleanup_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::SubmitForm526Cleanup, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
end
let(:user) { create(:user, :loa3) }
let(:submission) { create(:form526_submission, user_uuid: user.... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/form526_document_upload_failure_email_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::Form526DocumentUploadFailureEmail, type: :job do
subject { described_class }
let!(:form526_submission) do
create(
:form526_submission,
:with_uploads
)
end
let(:upload_data) { [form526_su... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/form4142_document_upload_failure_email_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::Form4142DocumentUploadFailureEmail, type: :job do
subject { described_class }
let!(:form526_submission) { create(:form526_submission) }
let(:notification_client) { instance_double(Notifications::Client) }
le... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_form8940_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::SubmitForm8940, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
Flipper.disable(:disability_compensation_lighthouse_document_service_provider)
end
let(:user) { create(:use... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/submit_form526_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::SubmitForm526, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
Flipper.disable(:disability_compensation_fail_submission)
end
let(:user) { create(:user, :loa3) }
let(:aut... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/upload_bdd_instructions_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::UploadBddInstructions, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
Flipper.disable(:disability_compensation_use_api_provider_for_bdd_instructions)
end
let(:user) { cre... |
0 | code_files/vets-api-private/spec/sidekiq/evss | code_files/vets-api-private/spec/sidekiq/evss/disability_compensation_form/form0781_document_upload_failure_email_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EVSS::DisabilityCompensationForm::Form0781DocumentUploadFailureEmail, type: :job do
subject { described_class }
let!(:form526_submission) { create(:form526_submission) }
let(:notification_client) { instance_double(Notifications::Client) }
le... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/test_user_dashboard/daily_maintenance_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe TestUserDashboard::DailyMaintenance do
describe '#perform' do
let!(:accounts) do
account = create(:tud_account)
TestUserDashboard::TudAccount.where(id: account.id)
end
before do
# rubocop:disable RSpec/MessageChain
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/mhv/phr_update_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'medical_records/phr_mgr/client'
Sidekiq::Testing.fake!
RSpec.describe MHV::PhrUpdateJob, type: :job do
describe '#perform' do
let(:icn) { 'some_icn' }
let(:mhv_correlation_id) { 'some_id' }
let(:phr_client_instance) { instance_double(PHRMgr::... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/mhv/account_creator_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/testing'
RSpec.describe MHV::AccountCreatorJob, type: :job do
let!(:user) { create(:user, :with_terms_of_use_agreement, icn:) }
let(:user_account) { user.user_account }
let(:user_verification) { user.user_verification }
let(:icn) { '10101V9... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/form1095/delete_old1095_bs_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Form1095::DeleteOld1095BsJob, type: :job do
describe 'perform' do
let!(:current_tax_year_form) { create(:form1095_b, tax_year: Form1095B.current_tax_year) }
let!(:current_year_form) { create(:form1095_b, tax_year: Form1095B.current_tax_year... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/form1095/new1095_bs_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Form1095::New1095BsJob, type: :job do
describe 'perform' do
let(:bucket) { double }
let(:s3_resource) { double }
let(:objects) { double }
let(:object) { double }
let(:file_names1) { %w[MEC_DataExtract_O_2021_V_2021123016452.txt]... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_notification_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/attr_package'
require_relative '../../../app/sidekiq/event_bus_gateway/constants'
require_relative 'shared_examples_letter_ready_job'
RSpec.describe EventBusGateway::LetterReadyNotificationJob, type: :job do
subject { described_class }
# Share... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_email_end_to_end_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'va_notify/service'
RSpec.describe 'EventBusGateway Letter Ready Email End-to-End Flow', type: :feature do
let(:participant_id) { '1234567890' }
let(:template_id) { '5678' }
let(:initial_va_notify_id) { SecureRandom.uuid }
let(:retry_va_notify_id) {... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_retry_email_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'va_notify/service'
require_relative '../../../app/sidekiq/event_bus_gateway/constants'
RSpec.describe EventBusGateway::LetterReadyRetryEmailJob, type: :job do
subject { described_class }
let(:notification_id) { existing_notification.id }
let!(:exist... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_email_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'va_notify/service'
require 'sidekiq/attr_package'
require_relative '../../../app/sidekiq/event_bus_gateway/constants'
require_relative 'shared_examples_letter_ready_job'
RSpec.describe EventBusGateway::LetterReadyEmailJob, type: :job do
subject { describ... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/shared_examples_letter_ready_job.rb | # frozen_string_literal: true
RSpec.shared_examples 'letter ready job bgs error handling' do |job_type|
let(:participant_id) { '1234' }
let(:template_id) { '5678' }
let(:mpi_profile) { build(:mpi_profile) }
let(:mpi_profile_response) { create(:find_profile_response, profile: mpi_profile) }
before do
all... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/va_notify_email_status_callback_spec.rb | # frozen_string_literal: true
require 'rails_helper'
describe EventBusGateway::VANotifyEmailStatusCallback do
describe '#call' do
context 'notification callback' do
let(:notification_type) { :error }
let(:callback_metadata) { { notification_type: } }
context 'permanent-failure' do
let... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_job_concern_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require_relative '../../../app/sidekiq/event_bus_gateway/letter_ready_job_concern'
require_relative '../../../app/sidekiq/event_bus_gateway/constants'
RSpec.describe EventBusGateway::LetterReadyJobConcern, type: :job do
let(:test_class) do
Class.new do
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/event_bus_gateway/letter_ready_push_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'va_notify/service'
require 'sidekiq/attr_package'
require_relative '../../../app/sidekiq/event_bus_gateway/constants'
require_relative 'shared_examples_letter_ready_job'
RSpec.describe EventBusGateway::LetterReadyPushJob, type: :job do
subject { describe... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/schema_contract/delete_validation_records_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require_relative Rails.root.join('app', 'models', 'schema_contract', 'validation_initiator')
RSpec.describe SchemaContract::DeleteValidationRecordsJob do
let(:job) { described_class.new }
let(:response) do
OpenStruct.new({ success?: true, status: 200, body:... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/form1010cg/delete_old_uploads_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Form1010cg::DeleteOldUploadsJob do
it 'inherits DeleteAttachmentJob' do
expect(described_class.ancestors).to include(DeleteAttachmentJob)
end
describe '::ATTACHMENT_CLASSES' do
it 'is references the attachment model\'s name' do
e... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/form1010cg/submission_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Form1010cg::SubmissionJob do
let(:form) { VetsJsonSchema::EXAMPLES['10-10CG'].clone.to_json }
let(:claim) { create(:caregivers_assistance_claim, form:) }
let(:statsd_key_prefix) { described_class::STATSD_KEY_PREFIX }
let(:zsf_tags) { describe... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/attr_package'
RSpec.describe TermsOfUse::SignUpServiceUpdaterJob, type: :job do
before do
Timecop.freeze(Time.zone.now)
allow(MAP::SignUp::Service).to receive(:new).and_return(service_instance)
end
after do
Timecop.return
end
... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_daily_spool_files_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::CreateDailySpoolFiles, form: :education_benefits, type: :model do
subject { described_class.new }
let!(:application_1606) do
create(:va1990).education_benefits_claim
end
let(:line_break) { EducationForm::CreateDailySpoolFi... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_spool_submissions_report_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::CreateSpoolSubmissionsReport, type: :aws_helpers do
subject do
described_class.new
end
let(:time) { Time.zone.now }
context 'with some sample claims', run_at: '2017-07-27 00:00:00 -0400' do
let!(:education_benefits_cl... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/process10203_submissions_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'fugit'
require 'feature_flipper'
RSpec.describe EducationForm::Process10203Submissions, form: :education_benefits, type: :model do
subject { described_class.new }
sidekiq_file = Rails.root.join('lib', 'periodic_jobs.rb')
lines = File.readlines(sidek... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_daily_spool_files_live_sftp_spec.rb | # frozen_string_literal: true
require 'rails_helper'
# Skip the test if ENV['RUN_SFTP_TEST'] is not set to 'true'. This will blow up the pipeline
# and fail if you try to run it in Github.
# To run it, copy and paste the below onto the command line
# RUN_SFTP_TEST=true rspec spec/sidekiq/education_form/create_daily_s... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/education_facility_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::EducationFacility do
let(:education_benefits_claim) { build(:education_benefits_claim) }
let(:eastern_address) do
OpenStruct.new(country: 'USA', state: 'DE')
end
let(:central_address) do
OpenStruct.new(country: 'USA', s... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_daily_fiscal_year_to_date_report_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'feature_flipper'
def get_education_form_fixture(filename)
get_fixture("education_form/#{filename}")
end
RSpec.describe EducationForm::CreateDailyFiscalYearToDateReport, type: :aws_helpers do
subject do
described_class.new
end
let(:date) { Tim... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/delete_old_applications_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::DeleteOldApplications do
before do
@saved_claim_nil = build(:education_benefits_1990, form: '{}')
@saved_claim_nil.save(validate: false)
@edu_claim_nil = create(:education_benefits_claim,
proce... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create10203_applicant_decision_letters_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Create10203ApplicantDecisionLetters, form: :education_benefits, type: :model do
subject { described_class.new }
let(:time) { Time.zone.now }
let(:count) do
EducationBenefitsClaim.includes(:saved_claim, :education_stem_automa... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_daily_excel_files_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::CreateDailyExcelFiles, form: :education_benefits, type: :model do
# Changed from application_10282 to application_form to fix Naming/VariableNumber
let!(:application_form) do
create(:va10282).education_benefits_claim
end
b... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create10203_spool_submissions_report_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Create10203SpoolSubmissionsReport, type: :aws_helpers do
subject do
described_class.new
end
let(:time) { Time.zone.now }
context 'with some sample claims', run_at: '2017-07-27 00:00:00 -0400' do
let!(:education_benefi... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/create_daily_year_to_date_report_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'feature_flipper'
def get_education_form_fixture(filename)
get_fixture("education_form/#{filename}")
end
RSpec.describe EducationForm::CreateDailyYearToDateReport, type: :aws_helpers do
subject do
described_class.new
end
let(:date) { Time.zone... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/education_form/send_school_certifying_officials_email_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'gi/client' # required for stubbing, isn't loaded normally until GIDSRedis is loaded
RSpec.describe EducationForm::SendSchoolCertifyingOfficialsEmail, form: :education_benefits, type: :model do
subject { described_class.new }
let(:claim) { create(:va10... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va8794_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA8794 do
subject { described_class.new(application) }
before do
allow_any_instance_of(EducationForm::Forms::Base).to receive(:format).and_return('')
end
let(:application) { create(:va8794).education_benefits_claim... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va10297_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA10297 do
subject { described_class.new(application) }
let(:application) { create(:va10297_full_form).education_benefits_claim }
it 'exposes the header form type' do
expect(subject.header_form_type).to eq('V10297')
... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va5490_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA5490 do
context 'method tests' do
subject do
education_benefits_claim.instance_variable_set(:@application, nil)
education_benefits_claim.saved_claim.instance_variable_set(:@application, nil)
described_c... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va1995_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA1995 do
subject { described_class.new(education_benefits_claim) }
let(:education_benefits_claim) { build(:va1995).education_benefits_claim }
before do
allow(Flipper).to receive(:enabled?).and_call_original
allo... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va0993_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA0993 do
subject { described_class.new(education_benefits_claim) }
let(:education_benefits_claim) { build(:va0993).education_benefits_claim }
%w[ssn va_file_number].each do |form|
test_spool_file('0993', form)
end... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va10203_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA10203 do
%w[kitchen_sink minimal].each do |test_application|
test_spool_file('10203', test_application)
end
def spool_file_text(file_name)
windows_linebreak = EducationForm::CreateDailySpoolFiles::WINDOWS_NOTEPA... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va0976_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA0976 do
subject { described_class.new(application) }
before do
allow_any_instance_of(EducationForm::Forms::Base).to receive(:format).and_return('')
end
let(:application) { create(:va8794).education_benefits_claim... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va1990_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA1990, form: :education_benefits, type: :model do
subject { described_class.new(application) }
let(:application) { create(:va1990).education_benefits_claim }
# For each sample application we have, format it and compare ... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va5495_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA5495 do
%w[kitchen_sink simple].each do |test_application|
test_spool_file('5495', test_application)
end
end
|
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va10282_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA10282 do
subject { described_class.new(application) }
let(:application) { create(:va10282).education_benefits_claim }
%w[minimal].each do |test_application|
test_excel_file('10282', test_application)
end
it 'e... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/va0994_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::VA0994 do
subject { described_class.new(education_benefits_claim) }
let(:education_benefits_claim) { build(:va0994).education_benefits_claim }
%w[kitchen_sink prefill simple].each do |form|
test_spool_file('0994', fo... |
0 | code_files/vets-api-private/spec/sidekiq/education_form | code_files/vets-api-private/spec/sidekiq/education_form/forms/base_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe EducationForm::Forms::Base, form: :education_benefits, type: :model do
let!(:application) { create(:va1990).education_benefits_claim }
let(:renderer) { described_class.new(application) }
describe '#hours_and_type' do
subject do
rende... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/create_intent_to_file_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'lighthouse/benefits_claims/service'
RSpec.describe Lighthouse::CreateIntentToFileJob do
let(:job) { described_class.new }
let(:user) { create(:user) }
let(:user_account) { user.user_account }
let(:pension_ipf) { create(:in_progress_527_form, user_a... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/failure_notification_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'lighthouse/failure_notification'
require 'va_notify/service'
RSpec.describe Lighthouse::FailureNotification, type: :job do
subject { described_class }
let(:notify_client_stub) { instance_double(VaNotify::Service) }
let(:user_account) { create(:user... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/poll_form526_pdf_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::PollForm526Pdf, type: :job do
subject { described_class }
before do
Sidekiq::Job.clear_all
allow_any_instance_of(BenefitsClaims::Service).to receive(:get_claim)
.and_return({ 'data' => { 'attributes' => { 'supportingDoc... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/submit_benefits_intake_claim_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::SubmitBenefitsIntakeClaim, :uploader_helpers do
include StatsD::Instrument::Helpers
stub_virus_scan
let(:job) { described_class.new }
let(:claim) { create(:fake_saved_claim) }
describe '#perform' do
context 'with SavedClaim... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/form526_document_upload_polling_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::Form526DocumentUploadPollingJob, type: :job do
before do
Sidekiq::Job.clear_all
# NOTE: to re-record the VCR cassettes for these tests:
# 1. Comment out the line below stubbing the token
# 2. Include both a valid Lightho... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/lighthouse/submit_career_counseling_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'pcpg/monitor'
RSpec.describe Lighthouse::SubmitCareerCounselingJob do
let(:claim) { create(:education_career_counseling_claim) }
let(:job) { described_class.new }
let(:monitor) { double('monitor') }
let(:exhaustion_msg) do
{ 'args' => [], 'clas... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/benefits_intake/submit_central_form686c_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::BenefitsIntake::SubmitCentralForm686cJob, :uploader_helpers do
stub_virus_scan
subject(:job) { described_class.new }
before do
allow(PdfFill::Filler)
.to receive(:fill_form) { |saved_claim, *_| "tmp/pdfs/686C-674_#{saved_... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/benefits_intake/submit_central_form686c_v2_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::BenefitsIntake::SubmitCentralForm686cV2Job, :uploader_helpers do
stub_virus_scan
subject(:job) { described_class.new }
before do
allow(PdfFill::Filler)
.to receive(:fill_form) { |saved_claim, *_|
"tmp/pdfs/686C-67... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/benefits_discovery/log_eligible_benefits_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::BenefitsDiscovery::LogEligibleBenefitsJob, type: :job do
let(:user) { create(:user, :loa3, :accountable, :legacy_icn) }
let(:service_instance) { instance_double(BenefitsDiscovery::Service) }
let(:params_instance) { instance_double(B... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/evidence_submissions/document_upload_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'sidekiq/testing'
Sidekiq::Testing.fake!
require 'lighthouse/evidence_submissions/document_upload'
require 'va_notify/service'
require 'lighthouse/benefits_documents/constants'
require 'lighthouse/benefits_documents/utilities/helpers'
RSpec.describe Lighth... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/evidence_submissions/delete_evidence_submission_records_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Lighthouse::EvidenceSubmissions::DeleteEvidenceSubmissionRecordsJob, type: :job do
subject { described_class }
describe 'perform' do
let!(:es_lh_delete_one) { create(:bd_evidence_submission_for_deletion, job_class: 'BenefitsDocuments::Servic... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/evidence_submissions/failure_notification_email_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'va_notify/service'
require 'lighthouse/benefits_documents/utilities/helpers'
RSpec.describe Lighthouse::EvidenceSubmissions::FailureNotificationEmailJob, type: :job do
subject { described_class }
let(:notification_id) { SecureRandom.uuid }
let(:vano... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/evidence_submissions/va_notify_email_status_callback_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'lighthouse/benefits_documents/constants'
describe Lighthouse::EvidenceSubmissions::VANotifyEmailStatusCallback do
describe '#call' do
context 'notification callback' do
let(:notification_type) { :error }
let(:callback_metadata) { { notifi... |
0 | code_files/vets-api-private/spec/sidekiq/lighthouse | code_files/vets-api-private/spec/sidekiq/lighthouse/evidence_submissions/evidence_submission_document_upload_polling_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'lighthouse/benefits_documents/constants'
require 'lighthouse/benefits_documents/utilities/helpers'
RSpec.describe Lighthouse::EvidenceSubmissions::EvidenceSubmissionDocumentUploadPollingJob, type: :job do
let(:job) { described_class.perform_async }
let... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/pager_duty/poll_maintenance_windows_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'pager_duty/poll_maintenance_windows'
RSpec.describe PagerDuty::PollMaintenanceWindows, type: :job do
let(:client_stub) { instance_double(PagerDuty::MaintenanceClient) }
let(:maint_hash) { build(:maintenance_hash) }
let(:maint_hash_updated) { build(:m... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/pager_duty/cache_global_downtime_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'pager_duty/cache_global_downtime'
RSpec.describe PagerDuty::CacheGlobalDowntime, type: %i[job aws_helpers] do
let(:subject) { described_class.new }
let(:client_stub) { instance_double(PagerDuty::MaintenanceClient) }
let(:mw_hash) { build(:maintenanc... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/central_mail/submit_form4142_job_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'evss/disability_compensation_auth_headers' # required to build a Form526Submission
RSpec.describe CentralMail::SubmitForm4142Job, type: :job do
subject { described_class }
# Use existing fixture simple.pdf as test input
let(:fixture_pdf) { Rails.roo... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/income_limits/std_county_import_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'csv'
RSpec.describe IncomeLimits::StdCountyImport, type: :worker do
describe '#perform' do
# rubocop:disable Layout/LineLength
let(:csv_data) do
%(ID,NAME,COUNTYNUMBER,DESCRIPTION,STATE_ID,VERSION,CREATED,UPDATED,CREATEDBY,UPDATEDBY\n1,Coun... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/income_limits/std_income_threshold_import_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'csv'
RSpec.describe IncomeLimits::StdIncomeThresholdImport, type: :worker do
describe '#perform' do
# rubocop:disable Layout/LineLength
let(:csv_data) do
%(ID,INCOME_THRESHOLD_YEAR,EXEMPT_AMOUNT,MEDICAL_EXPENSE_DEDUCTIBLE,CHILD_INCOME_EXCLU... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/income_limits/std_state_import_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'csv'
RSpec.describe IncomeLimits::StdStateImport, type: :worker do
describe '#perform' do
# rubocop:disable Layout/LineLength
let(:csv_data) do
%(ID,NAME,POSTALNAME,FIPSCODE,COUNTRY_ID,VERSION,CREATED,UPDATED,CREATEDBY,UPDATEDBY\n1,Maine,Sa... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/income_limits/gmt_thresholds_import_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'csv'
RSpec.describe IncomeLimits::GmtThresholdsImport, type: :worker do
describe '#perform' do
# rubocop:disable Layout/LineLength
let(:csv_data) do
%(ID,EFFECTIVEYEAR,STATENAME,COUNTYNAME,FIPS,TRHD1,TRHD2,TRHD3,TRHD4,TRHD5,TRHD6,TRHD7,TRHD... |
0 | code_files/vets-api-private/spec/sidekiq | code_files/vets-api-private/spec/sidekiq/income_limits/std_zipcode_import_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require 'csv'
RSpec.describe IncomeLimits::StdZipcodeImport, type: :worker do
describe '#perform' do
# rubocop:disable Layout/LineLength
let(:csv_data) do
%(ID,ZIPCODE,ZIPCLASSIFICATION_ID,PREFERREDZIPPLACE_ID,STATE_ID,COUNTYNUMBER,VERSION,CREATED,U... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/year_to_date_report_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe YearToDateReportMailer, type: %i[mailer aws_helpers] do
describe '#year_to_date_report_email' do
subject do
stub_reports_s3(filename) do
mail
end
end
let(:filename) { 'foo' }
let(:mail) { described_class.build(f... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/create_daily_spool_files_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe CreateDailySpoolFilesMailer, type: %i[mailer aws_helpers] do
describe 'with RPO' do
subject do
described_class.build('eastern').deliver_now
end
# Commented out until email addreses are added back to Settings.edu.spool_error.stagi... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/stem_applicant_confirmation_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe StemApplicantConfirmationMailer, type: [:mailer] do
subject do
described_class.build(saved_claim, ga_client_id).deliver_now
end
let(:saved_claim) do
claim = build(:va10203)
claim.save
claim
end
let(:applicant) { saved_claim... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/spool10203_submissions_report_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Spool10203SubmissionsReportMailer, type: %i[mailer aws_helpers] do
describe '#build' do
subject do
stub_reports_s3(filename) do
mail
end
end
let(:filename) { 'foo' }
let(:mail) { described_class.build(filename).... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/spool_submissions_report_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe SpoolSubmissionsReportMailer, type: %i[mailer aws_helpers] do
describe '#build' do
subject do
stub_reports_s3(filename) do
mail
end
end
let(:filename) { 'foo' }
let(:mail) { described_class.build(filename).deliv... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/dependents_application_failure_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe DependentsApplicationFailureMailer, type: [:mailer] do
include ActionView::Helpers::TranslationHelper
let(:user) { create(:evss_user, :loa3) }
let(:recipients) do
[user.email]
end
describe '#build' do
it 'includes all info' do
... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/rrd_mas_notification_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe RrdMasNotificationMailer, type: [:mailer] do
let(:email) do
described_class.build(submission)
end
context 'when building an email with a disability name and diagnostic code' do
let(:submission) { create(:form526_submission, :with_every... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/create_staging_spool_files_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe CreateStagingSpoolFilesMailer, type: %i[mailer aws_helpers] do
describe '#build' do
subject do
contents = File.read('spec/fixtures/education_form/stagingspool.txt')
described_class.build(contents).deliver_now
end
context 'w... |
0 | code_files/vets-api-private/spec | code_files/vets-api-private/spec/mailers/transactional_email_mailer_spec.rb | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe TransactionalEmailMailer, type: [:mailer] do
subject do
described_class.build(email, google_analytics_client_id).deliver_now
end
let(:email) { 'foo@example.com' }
let(:google_analytics_client_id) { '123456543' }
describe 'as a parent ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.