mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Dynamic validations example
This commit is contained in:
parent
0c5b7c4cb8
commit
415f109d8f
7 changed files with 75 additions and 48 deletions
|
@ -4,7 +4,10 @@ describe 'EPP Domain', epp: true do
|
|||
let(:server) { server = Epp::Server.new({server: 'localhost', tag: 'gitlab', password: 'ghyt9e4fu', port: 701}) }
|
||||
|
||||
context 'with valid user' do
|
||||
before(:each) { Fabricate(:epp_user) }
|
||||
before(:each) do
|
||||
Fabricate(:epp_user)
|
||||
Fabricate(:domain_validation_setting_group)
|
||||
end
|
||||
|
||||
it 'returns error if contact does not exists' do
|
||||
Fabricate(:contact, code: 'jd1234')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue