Merge pull request #925 from consul/removes-hot-fix
removes unused code
This commit is contained in:
@@ -64,8 +64,6 @@ class Verification::Residence
|
||||
document_type: document_type,
|
||||
date_of_birth: date_of_birth,
|
||||
postal_code: postal_code
|
||||
#hot fix. Check out the Census API to catch the exception earlier.
|
||||
#district_code: district_code
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
@@ -112,7 +112,6 @@ describe Verification::Residence do
|
||||
end
|
||||
end
|
||||
|
||||
#Pending fix to Census API response for district code.
|
||||
describe "Failed census call" do
|
||||
it "stores failed census API calls" do
|
||||
residence = build(:verification_residence, :invalid, document_number: "12345678Z")
|
||||
@@ -125,7 +124,6 @@ describe Verification::Residence do
|
||||
document_type: "1",
|
||||
date_of_birth: Date.new(1980, 12, 31),
|
||||
postal_code: "28001"
|
||||
#district_code: "01"
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user