mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
38f0528d70
6 changed files with 25 additions and 35 deletions
|
@ -19,7 +19,8 @@ describe 'EPP Contact', epp: true do
|
|||
expect(Contact.first.org_name).to eq('Example Inc.')
|
||||
end
|
||||
|
||||
it 'updates a contact with same ident' do
|
||||
it 'updates a contact with same ident', pending: true do
|
||||
pending 'fixing this as soon as contact#update is done'
|
||||
Fabricate(:contact)
|
||||
response = epp_request('contacts/create.xml')
|
||||
expect(response[:result_code]).to eq('1000')
|
||||
|
|
|
@ -5,5 +5,5 @@ Fabricator(:contact) do
|
|||
ident '37605030299'
|
||||
code 'sh8913'
|
||||
ident_type 'op'
|
||||
addresses(count: 2)
|
||||
address
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe Contact do
|
||||
it { should have_many(:addresses) }
|
||||
it { should have_one(:address) }
|
||||
|
||||
context 'with invalid attribute' do
|
||||
before(:each) { @contact = Fabricate(:contact) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue