removes unused code

This commit is contained in:
rgarcia
2016-02-22 21:33:08 +01:00
parent 0232f52508
commit ad3bf7f573
2 changed files with 0 additions and 4 deletions

View File

@@ -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

View File

@@ -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