mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
parent
4d5830efdf
commit
d5197962ee
5 changed files with 40 additions and 28 deletions
|
@ -271,9 +271,9 @@ RSpec.describe 'EPP contact:create' do
|
|||
|
||||
before do
|
||||
mismatches = [
|
||||
Contact::Ident::Mismatch.new('priv', Country.new('DE'))
|
||||
Contact::Ident::MismatchValidator::Mismatch.new('priv', Country.new('DE'))
|
||||
]
|
||||
allow(Contact::Ident).to receive(:mismatches).and_return(mismatches)
|
||||
allow(Contact::Ident::MismatchValidator).to receive(:mismatches).and_return(mismatches)
|
||||
end
|
||||
|
||||
it 'does not create a contact' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue