Remove unused verification offices url setting

This commit is contained in:
decabeza
2019-03-05 00:02:10 +01:00
parent 4641314bda
commit 0e1bf2188c
10 changed files with 9 additions and 39 deletions

View File

@@ -20,17 +20,6 @@ feature "Verify Letter" do
expect(user.letter_verification_code).to be
end
scenario "Go to office instead of send letter" do
Setting["verification_offices_url"] = "http://offices.consul"
user = create(:user, residence_verified_at: Time.current,
confirmed_phone: "611111111")
login_as(user)
visit new_letter_path
expect(page).to have_link "Citizen Support Offices", href: "http://offices.consul"
end
scenario "Deny access unless verified residence" do
user = create(:user)