Skip to content

Commit

Permalink
dbex/99346-be-te-toggle-cleanup: remove unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sethdarragile6 committed Dec 30, 2024
1 parent a265a72 commit 6498508
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
end

context 'when toxic exposure' do
it 'returns startedFormVersion as 2019 in the response for toxic exposure 1.1 release' do
it 'returns startedFormVersion as 2019 for an in-progress user (pre-TE)' do
VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
get v0_disability_compensation_in_progress_form_url(in_progress_form_lighthouse.form_id), params: nil
end
Expand All @@ -113,17 +113,6 @@
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq('2019')
end
#
# # if the user with an IPF was not chosen for Toxic Exposure 1.1 release
# it 'does not return startedFormVersion' do
# VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
# get v0_disability_compensation_in_progress_form_url(in_progress_form_lighthouse.form_id), params: nil
# end
#
# expect(response).to have_http_status(:ok)
# json_response = JSON.parse(response.body)
# expect(json_response['formData']['startedFormVersion']).to eq(nil)
# end
end
end

Expand All @@ -135,7 +124,7 @@
let(:user) { loa1_user }
let!(:form_id) { '21-526EZ' }

it 'adds startedFormVersion for a user' do
it 'adds startedFormVersion of 2022 for a new user' do
get v0_disability_compensation_in_progress_form_url(form_id), params: nil
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq('2022')
Expand Down

0 comments on commit 6498508

Please sign in to comment.