source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/addresses/correspondence_address_choices_step_spec.rb
Ruby
mit
19
main
2,087
require "rails_helper" RSpec.describe Flow::Steps::Addresses::CorrespondenceAddressChoicesStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } let(:applicant) { build_stubbed(:applicant, legal_aid_application:) } describe "#path" do subject { described_class.path.cal...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/addresses/home_address_selections_step_spec.rb
Ruby
mit
19
main
653
require "rails_helper" RSpec.describe Flow::Steps::Addresses::HomeAddressSelectionsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/addresses/correspondence_address_selections_step_spec.rb
Ruby
mit
19
main
804
require "rails_helper" RSpec.describe Flow::Steps::Addresses::CorrespondenceAddressSelectionsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_a...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/addresses/home_address_lookups_step_spec.rb
Ruby
mit
19
main
770
require "rails_helper" RSpec.describe Flow::Steps::Addresses::HomeAddressLookupsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_ho...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/addresses/home_address_statuses_step_spec.rb
Ruby
mit
19
main
1,426
require "rails_helper" RSpec.describe Flow::Steps::Addresses::HomeAddressStatusesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, applicant:) } let(:applicant) { create(:applicant, no_fixed_residence:) } let(:no_fixed_residence) { true } describe "#path" do subject { de...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/linked_applications/confirm_link_step_spec.rb
Ruby
mit
19
main
2,490
require "rails_helper" RSpec.describe Flow::Steps::LinkedApplications::ConfirmLinkStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } let(:lead_application) { create(:legal_aid_application) } let(:link_case) { true } let(:link_type_code) { "FC_LEAD" } describe "#path" do ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/linked_applications/find_link_step_spec.rb
Ruby
mit
19
main
530
require "rails_helper" RSpec.describe Flow::Steps::LinkedApplications::FindLinkStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_lin...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/linked_applications/copy_step_spec.rb
Ruby
mit
19
main
2,155
require "rails_helper" RSpec.describe Flow::Steps::LinkedApplications::CopyStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, copy_case:) } let(:lead_application) { create(:legal_aid_application) } let(:copy_case) { true } describe "#path" do subject { described_class.pat...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/linked_applications/make_link_step_spec.rb
Ruby
mit
19
main
2,882
require "rails_helper" RSpec.describe Flow::Steps::LinkedApplications::MakeLinkStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, copy_case:) } let(:copy_case) { nil } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/outgoing_transactions_step_spec.rb
Ruby
mit
19
main
660
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::OutgoingTransactionsStep, type: :request do let(:application) { create(:legal_aid_application) } let(:transaction_type) { create(:transaction_type, :maintenance_in) } let(:params) { { transaction_type: transaction_type.name } } describe "#path...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/identify_types_of_income_step_spec.rb
Ruby
mit
19
main
1,430
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::IdentifyTypesOfIncomeStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_appli...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/housing_benefits_step_spec.rb
Ruby
mit
19
main
623
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::HousingBenefitsStep, type: :request do let(:application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eql providers_legal_aid_application_means_housing_benef...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/unemployed_but_hmrc_found_data_interrupts_step_spec.rb
Ruby
mit
19
main
436
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::UnemployedButHMRCFoundDataInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql pro...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/student_finances_step_spec.rb
Ruby
mit
19
main
1,111
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::StudentFinancesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/incoming_transactions_step_spec.rb
Ruby
mit
19
main
687
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::IncomingTransactionsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } let(:transaction_type) { create(:transaction_type, :maintenance_in) } let(:params) { { transaction_type: transaction_type.name } } descr...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/unexpected_employment_incomes_step_spec.rb
Ruby
mit
19
main
1,132
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::UnexpectedEmploymentIncomesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/employed_but_no_hmrc_data_interrupts_step_spec.rb
Ruby
mit
19
main
426
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::EmployedButNoHMRCDataInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql provider...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/employment_incomes_step_spec.rb
Ruby
mit
19
main
1,119
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::EmploymentIncomesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applicati...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/single_employment_interrupts_step_spec.rb
Ruby
mit
19
main
413
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::SingleEmploymentInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_leg...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/hmrc_unavailable_interrupts_step_spec.rb
Ruby
mit
19
main
411
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::HMRCUnavailableInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_lega...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/check_income_answers_step_spec.rb
Ruby
mit
19
main
501
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::CheckIncomeAnswersStep, type: :request do let(:application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eql providers_legal_aid_application_means_check_inco...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/income_summary_step_spec.rb
Ruby
mit
19
main
1,198
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::IncomeSummaryStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, applicant:) } let(:applicant) { create(:applicant) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it {...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/outgoings_summary_step_spec.rb
Ruby
mit
19
main
2,494
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::OutgoingsSummaryStep, type: :request do let(:application) { build_stubbed(:legal_aid_application, :with_applicant) } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eql providers_legal_aid_applic...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/cash_incomes_step_spec.rb
Ruby
mit
19
main
1,099
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::CashIncomesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_mea...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/client_completed_means_step_spec.rb
Ruby
mit
19
main
3,930
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::ClientCompletedMeansStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applic...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/cash_outgoings_step_spec.rb
Ruby
mit
19
main
3,777
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::CashOutgoingsStep, type: :request do let(:application) { create(:application, applicant:) } let(:applicant) { create(:applicant, has_partner: true, partner_has_contrary_interest: false) } describe "#path" do subject { described_class.path.ca...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/full_employment_details_step_spec.rb
Ruby
mit
19
main
1,129
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::FullEmploymentDetailsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_appli...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/multiple_employments_interrupts_step_spec.rb
Ruby
mit
19
main
419
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::MultipleEmploymentsInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/regular_outgoings_step_spec.rb
Ruby
mit
19
main
1,723
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::RegularOutgoingsStep, type: :request do let(:application) { build_stubbed(:legal_aid_application, :with_applicant) } let(:applicant) { application.applicant } let(:outgoing_types?) { nil } before do allow(application).to receive_messages(o...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/no_nino_interrupts_step_spec.rb
Ruby
mit
19
main
393
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::NoNinoInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_app...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/identify_types_of_outgoings_step_spec.rb
Ruby
mit
19
main
2,116
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::IdentifyTypesOfOutgoingsStep, type: :request do let(:application) { build_stubbed(:legal_aid_application, :with_applicant) } let(:applicant) { application.applicant } let(:outgoing_types?) { nil } let(:income_types?) { nil } let(:uploading_ba...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_income/regular_incomes_step_spec.rb
Ruby
mit
19
main
1,419
require "rails_helper" RSpec.describe Flow::Steps::ProviderIncome::RegularIncomesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dependants/has_dependants_step_spec.rb
Ruby
mit
19
main
1,503
require "rails_helper" RSpec.describe Flow::Steps::ProviderDependants::HasDependantsStep, type: :request do let(:application) { create(:legal_aid_application, has_dependants:) } let(:has_dependants) { true } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eq p...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dependants/remove_dependants_step_spec.rb
Ruby
mit
19
main
919
require "rails_helper" RSpec.describe Flow::Steps::ProviderDependants::RemoveDependantsStep, type: :request do let(:application) { create(:legal_aid_application, dependants: [dependant]) } let(:dependant) { create(:dependant) } describe "#path" do subject { described_class.path.call(application, dependant) ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dependants/has_other_dependants_step_spec.rb
Ruby
mit
19
main
1,234
require "rails_helper" RSpec.describe Flow::Steps::ProviderDependants::HasOtherDependantsStep, type: :request do let(:application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eq providers_legal_aid_application_means_has_oth...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dependants/dependants_step_spec.rb
Ruby
mit
19
main
473
require "rails_helper" RSpec.describe Flow::Steps::ProviderDependants::DependantsStep, type: :request do let(:application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(application) } it { is_expected.to eq new_providers_legal_aid_application_means_dependant_p...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider/proceeding_interrupts/related_orders_step_spec.rb
Ruby
mit
19
main
979
require "rails_helper" RSpec.describe Flow::Steps::Provider::ProceedingInterrupts::RelatedOrdersStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application, proceeding) } let(:proceeding) { bui...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_blocked/providers_blocked_step_spec.rb
Ruby
mit
19
main
368
require "rails_helper" RSpec.describe Flow::Steps::ProviderBlocked::ProvidersBlockedStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_applicatio...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp/dwp_results_step_spec.rb
Ruby
mit
19
main
2,500
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWP::DWPResultsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_dwp_res...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp/dwp_partner_overrides_step_spec.rb
Ruby
mit
19
main
522
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWP::DWPPartnerOverridesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applicatio...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp/dwp_fallback_step_spec.rb
Ruby
mit
19
main
1,189
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWP::DWPFallbackStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_dwp_fa...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp_override/has_evidence_of_benefits_step_spec.rb
Ruby
mit
19
main
1,622
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWPOverride::HasEvidenceOfBenefitsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp_override/check_client_details_step_spec.rb
Ruby
mit
19
main
531
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWPOverride::CheckClientDetailsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_dwp_override/received_benefit_confirmations_step_spec.rb
Ruby
mit
19
main
1,137
require "rails_helper" RSpec.describe Flow::Steps::ProviderDWPOverride::ReceivedBenefitConfirmationsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_leg...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/heard_as_alternatives_step_spec.rb
Ruby
mit
19
main
1,659
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::HeardAsAlternativesStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application, parameters) } context "when the proceed...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/supervision_order_step_spec.rb
Ruby
mit
19
main
513
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::SupervisionOrderStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_app...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/heard_togethers_step_spec.rb
Ruby
mit
19
main
1,588
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::HeardTogethersStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application, proceeding) } let(:proceeding) { build_stubbed(:pro...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/proceeding_issue_statuses_step_spec.rb
Ruby
mit
19
main
1,150
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::ProceedingIssueStatusesStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/interrupts_step_spec.rb
Ruby
mit
19
main
483
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::InterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application, provider_step_params:) } let(:provider_step_params) { { type: } } let(:type) { "change_of_name" } describe "#path" do subject { described...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/proceedings_sca/child_subjects_step_spec.rb
Ruby
mit
19
main
505
require "rails_helper" RSpec.describe Flow::Steps::ProceedingsSCA::ChildSubjectsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applic...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/change_of_names_step_spec.rb
Ruby
mit
19
main
506
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ChangeOfNamesStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applica...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/applicants_step_spec.rb
Ruby
mit
19
main
457
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ApplicantsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq new_providers_applicant_path } end ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/confirm_non_means_tested_application_step_spec.rb
Ruby
mit
19
main
1,429
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ConfirmNonMeansTestedApplicationStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, copy_case:) } let(:copy_case) { true } describe "#path" do subject { described_class.path.call(legal_aid_application) } ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/about_the_financial_assessments_step_spec.rb
Ruby
mit
19
main
532
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::AboutTheFinancialAssessmentsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/has_other_proceedings_step_spec.rb
Ruby
mit
19
main
963
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::HasOtherProceedingsStep, type: :request do before { allow(Flow::ProceedingLoop).to receive(:next_step).and_return(:client_involvement_type) } let(:legal_aid_application) { create(:legal_aid_application) } let(:add_another_proceeding) { true } ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/application_confirmations_step_spec.rb
Ruby
mit
19
main
393
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ApplicationConfirmationsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_appl...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/proceedings_types_step_spec.rb
Ruby
mit
19
main
1,762
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ProceedingsTypesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/applicant_details_step_spec.rb
Ruby
mit
19
main
650
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ApplicantDetailsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/open_banking_consents_step_spec.rb
Ruby
mit
19
main
894
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::OpenBankingConsentsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, provider_received_citizen_consent:) } let(:provider_received_citizen_consent) { true } describe "#path" do subject { described_class.path....
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/substantive_applications_step_spec.rb
Ruby
mit
19
main
1,284
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::SubstantiveApplicationsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, substantive_application:) } let(:substantive_application) { true } describe "#path" do subject { described_class.path.call(legal_aid_a...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/email_addresses_step_spec.rb
Ruby
mit
19
main
507
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::EmailAddressesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_em...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/about_financial_means_step_spec.rb
Ruby
mit
19
main
507
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::AboutFinancialMeansStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_applicati...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/applicant_employed_step_spec.rb
Ruby
mit
19
main
1,213
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ApplicantEmployedStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_appl...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/bank_statements_step_spec.rb
Ruby
mit
19
main
2,727
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::BankStatementsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_ba...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/check_provider_answers_step_spec.rb
Ruby
mit
19
main
2,285
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::CheckProviderAnswersStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, applicant:) } let(:applicant) { create(:applicant, age_for_means_test_purposes:, national_insurance_number:) } let(:age_for_means_test_purpose...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/use_ccms_employment_step_spec.rb
Ruby
mit
19
main
387
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::UseCCMSEmploymentStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/delegated_confirmation_step_spec.rb
Ruby
mit
19
main
394
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::DelegatedConfirmationStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_applica...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/no_national_insurance_numbers_step_spec.rb
Ruby
mit
19
main
719
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::NoNationalInsuranceNumbersStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_ap...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/open_banking_guidances_step_spec.rb
Ruby
mit
19
main
865
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::OpenBankingGuidancesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_applicat...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/previous_references_step_spec.rb
Ruby
mit
19
main
654
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::PreviousReferencesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_applicatio...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/change_of_names_interrupts_step_spec.rb
Ruby
mit
19
main
401
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::ChangeOfNamesInterruptsStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_a...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/use_ccms_step_spec.rb
Ruby
mit
19
main
360
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::UseCCMSStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_application_use_ccms_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/limitations_step_spec.rb
Ruby
mit
19
main
2,079
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::LimitationsStep, type: :request do before { allow(Flow::ProceedingLoop).to receive(:next_step).and_return(:client_involvement_type) } let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_clas...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_start/has_national_insurance_numbers_step_spec.rb
Ruby
mit
19
main
1,092
require "rails_helper" RSpec.describe Flow::Steps::ProviderStart::HasNationalInsuranceNumbersStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eq providers_legal_aid_a...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_application_merits/is_biological_parent_step_spec.rb
Ruby
mit
19
main
1,008
require "rails_helper" RSpec.describe Flow::Steps::ProviderApplicationMerits::IsBiologicalParentStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } before do allow(Flow::MeritsLoop).to receive(:forward_flow).and_return(:merits_task_lists) end describe "#path" do sub...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_application_merits/child_is_subject_step_spec.rb
Ruby
mit
19
main
1,000
require "rails_helper" RSpec.describe Flow::Steps::ProviderApplicationMerits::ChildIsSubjectStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } before do allow(Flow::MeritsLoop).to receive(:forward_flow).and_return(:merits_task_lists) end describe "#path" do subject...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_application_merits/parental_responsibilities_step_spec.rb
Ruby
mit
19
main
1,021
require "rails_helper" RSpec.describe Flow::Steps::ProviderApplicationMerits::ParentalResponsibilitiesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } before do allow(Flow::MeritsLoop).to receive(:forward_flow).and_return(:merits_task_lists) end describe "#path" do ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_application_merits/client_check_parental_answers_step_spec.rb
Ruby
mit
19
main
664
require "rails_helper" RSpec.describe Flow::Steps::ProviderApplicationMerits::ClientCheckParentalAnswersStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } before do allow(Flow::MeritsLoop).to receive(:forward_flow).and_return(:merits_task_lists) end describe "#path" do...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_means/remove_state_benefits_step_spec.rb
Ruby
mit
19
main
1,267
require "rails_helper" RSpec.describe Flow::Steps::ProviderMeans::RemoveStateBenefitsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, :with_applicant) } let(:transaction) do create(:regular_transaction, transaction_type: create(:transaction_type, :benefits), ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/gather_transactions_step_spec.rb
Ruby
mit
19
main
223
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::GatherTransactionsStep, type: :request do describe "#forward" do subject { described_class.forward } it { is_expected.to eq :accounts } end end
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/true_layer_step_spec.rb
Ruby
mit
19
main
319
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::TrueLayerStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } it { is_expected.to eql "/auth/true_layer" } end end
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/legal_aid_applications_step_spec.rb
Ruby
mit
19
main
225
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::LegalAidApplicationsStep, type: :request do describe "#forward" do subject { described_class.forward } it { is_expected.to eq :consents } end end
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/consents_step_spec.rb
Ruby
mit
19
main
779
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::ConsentsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, open_banking_consent:) } let(:open_banking_consent) { true } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/banks_step_spec.rb
Ruby
mit
19
main
451
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::BanksStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } it { is_expected.to eql citizens_banks_path(locale: I18n.loc...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/additional_accounts_step_spec.rb
Ruby
mit
19
main
803
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::AdditionalAccountsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application, has_offline_accounts:) } let(:has_offline_accounts) { true } describe "#path" do subject(:path) { described_class.path.call(legal_aid_applic...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/contact_provider_step_spec.rb
Ruby
mit
19
main
358
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::ContactProviderStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } it { is_expected.to eql citizens_contact_provider_...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/citizen_start/accounts_step_spec.rb
Ruby
mit
19
main
595
require "rails_helper" RSpec.describe Flow::Steps::CitizenStart::AccountsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject(:path) { described_class.path.call(legal_aid_application) } it { is_expected.to eql citizens_accounts_path(locale: I1...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/substantive_defaults_step_spec.rb
Ruby
mit
19
main
1,673
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::SubstantiveDefaultsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } let(:proceeding) { create(:proceeding, :da001, legal_aid_application:, accepted_substantive_defaults:) } let(:accepted_substantive_d...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/final_hearings_step_spec.rb
Ruby
mit
19
main
1,265
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::FinalHearingsStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } let(:options) { { work_type: } } let(:work_type) { :substantive } before ...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/emergency_scope_limitations_step_spec.rb
Ruby
mit
19
main
954
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::EmergencyScopeLimitationsStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } before { allow(application).to receive(:provider_step_params).and...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/client_involvement_type_step_spec.rb
Ruby
mit
19
main
841
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::ClientInvolvementTypeStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } describe "#path" do subject { described_class.path.call(applicati...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/substantive_level_of_service_step_spec.rb
Ruby
mit
19
main
1,265
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::SubstantiveLevelOfServiceStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } let(:options) { { changed_to_full_rep: true } } before { allow(...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/delegated_functions_step_spec.rb
Ruby
mit
19
main
1,518
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::DelegatedFunctionsStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } before { allow(application).to receive(:provider_step_params).and_return...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/emergency_defaults_step_spec.rb
Ruby
mit
19
main
1,329
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::EmergencyDefaultsStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } let(:proceeding) { create(:proceeding, :da001, legal_aid_application:, accepted_emergency_defaults:) } let(:accepted_emergency_default...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/confirm_delegated_functions_date_step_spec.rb
Ruby
mit
19
main
1,491
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::ConfirmDelegatedFunctionsDateStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } before { allow(application).to receive(:provider_step_params)...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/emergency_level_of_service_step_spec.rb
Ruby
mit
19
main
1,259
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::EmergencyLevelOfServiceStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } let(:options) { { changed_to_full_rep: true } } before { allow(ap...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/provider_proceeding_loop/substantive_scope_limitations_step_spec.rb
Ruby
mit
19
main
1,059
require "rails_helper" RSpec.describe Flow::Steps::ProviderProceedingLoop::SubstantiveScopeLimitationsStep, type: :request do let(:application) { create(:legal_aid_application, :with_proceedings) } let(:proceeding) { application.proceedings.first } before { allow(application).to receive(:provider_step_params).a...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/partner/cash_incomes_step_spec.rb
Ruby
mit
19
main
657
require "rails_helper" RSpec.describe Flow::Steps::Partner::CashIncomesStep, type: :request do let(:legal_aid_application) { build_stubbed(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_par...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/partner/unexpected_employment_income_step_spec.rb
Ruby
mit
19
main
538
require "rails_helper" RSpec.describe Flow::Steps::Partner::UnexpectedEmploymentIncomeStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_applica...
github
ministryofjustice/laa-apply-for-legal-aid
https://github.com/ministryofjustice/laa-apply-for-legal-aid
spec/services/flow/steps/partner/employment_incomes_step_spec.rb
Ruby
mit
19
main
518
require "rails_helper" RSpec.describe Flow::Steps::Partner::EmploymentIncomesStep, type: :request do let(:legal_aid_application) { create(:legal_aid_application) } describe "#path" do subject { described_class.path.call(legal_aid_application) } it { is_expected.to eql providers_legal_aid_application_part...