Update emails' content

Closes #1127
This commit is contained in:
Artur Beljajev 2019-03-26 22:42:40 +02:00
parent f35b2dc36c
commit 5d63feb0a5
43 changed files with 262 additions and 816 deletions

View file

@ -240,16 +240,6 @@ end
RSpec.describe Contact do
it { is_expected.to alias_attribute(:kind, :ident_type) }
describe '::names' do
before :example do
expect(described_class).to receive(:pluck).with(:name).and_return('names')
end
it 'returns names' do
expect(described_class.names).to eq('names')
end
end
describe '::emails' do
before :example do
expect(described_class).to receive(:pluck).with(:email).and_return('emails')