mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
parent
f35b2dc36c
commit
5d63feb0a5
43 changed files with 262 additions and 816 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue