From 6b61a624850fbf88baaee713dd57458a030e9581 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Thu, 25 Jul 2024 15:52:45 +0100 Subject: [PATCH] Add rejection reasons for IRP emails Adds the rejection reasons given in the ticket. I've also updated the notify email rejection template to work with these reasons. --- spec/features/admin_view_claim_spec.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/spec/features/admin_view_claim_spec.rb b/spec/features/admin_view_claim_spec.rb index 86ce985a9e..6a64e3f860 100644 --- a/spec/features/admin_view_claim_spec.rb +++ b/spec/features/admin_view_claim_spec.rb @@ -1,11 +1,5 @@ require "rails_helper" RSpec.feature "Admin view claim" do - Policies.all.each do |policy| - # FIXME RL temp stub out this test until we've added rejection reasons for - # IRP - unless policy == Policies::InternationalRelocationPayments - it_behaves_like "Admin View Claim Feature", policy - end - end + Policies.all.each { |policy| it_behaves_like "Admin View Claim Feature", policy } end