Improve RegistrantChangeMailer

- Do not show registrant address unless "address_processing" is enabled
- Add missing registrant state and zip attributes

#480
This commit is contained in:
Artur Beljajev 2017-05-18 15:59:06 +03:00
parent 2c648ddc84
commit bfc0c0b74f
14 changed files with 164 additions and 43 deletions

View file

@ -2,5 +2,5 @@ require 'rails_helper'
require_relative 'registrant_shared'
RSpec.describe 'mailers/shared/registrant/_registrant.et.text.erb' do
include_examples 'domain mailer registrant info'
include_examples 'domain mailer registrant info', 'mailers/shared/registrant/_registrant.et.text.erb'
end