|  |  |  | @ -379,13 +379,12 @@ RSpec.describe "Test Features" do | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   describe "Soft Validation" do | 
			
		
	
		
			
				
					|  |  |  |  |     context "given a weekly net income that is above the expected amount for the given economic status but below the hard max" do | 
			
		
	
		
			
				
					|  |  |  |  |       let!(:case_log){ FactoryBot.create(:case_log, :in_progress, person_1_economic_status: "Full-time - 30 hours or more") } | 
			
		
	
		
			
				
					|  |  |  |  |       let!(:case_log) { FactoryBot.create(:case_log, :in_progress, person_1_economic_status: "Full-time - 30 hours or more") } | 
			
		
	
		
			
				
					|  |  |  |  |       let(:income_over_soft_limit) { 750 } | 
			
		
	
		
			
				
					|  |  |  |  |       let(:income_under_soft_limit) { 700 } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       it "prompts the user to confirm the value is correct" do | 
			
		
	
		
			
				
					|  |  |  |  |         visit("/case_logs/#{case_log.id}/net_income") | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-known-yes-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         fill_in("case-log-net-income-field", with: income_over_soft_limit) | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-frequency-weekly-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         click_button("Save and continue") | 
			
		
	
	
		
			
				
					|  |  |  | @ -397,7 +396,6 @@ RSpec.describe "Test Features" do | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       it "does not require confirming the value if the value is amended" do | 
			
		
	
		
			
				
					|  |  |  |  |         visit("/case_logs/#{case_log.id}/net_income") | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-known-yes-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         fill_in("case-log-net-income-field", with: income_over_soft_limit) | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-frequency-weekly-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         click_button("Save and continue") | 
			
		
	
	
		
			
				
					|  |  |  | @ -410,7 +408,6 @@ RSpec.describe "Test Features" do | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       xit "clears the confirmation question if the page is returned to using the back button" do | 
			
		
	
		
			
				
					|  |  |  |  |         visit("/case_logs/#{case_log.id}/net_income") | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-known-yes-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         fill_in("case-log-net-income-field", with: income_over_soft_limit) | 
			
		
	
		
			
				
					|  |  |  |  |         choose("case-log-net-income-frequency-weekly-field", allow_label_click: true) | 
			
		
	
		
			
				
					|  |  |  |  |         click_button("Save and continue") | 
			
		
	
	
		
			
				
					|  |  |  | 
 |