mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Refactor + dummy domain spec
This commit is contained in:
parent
dad57ffa8b
commit
9f30ec3cc7
3 changed files with 34 additions and 11 deletions
14
spec/epp/domain_spec.rb
Normal file
14
spec/epp/domain_spec.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'rails_helper'
|
||||
|
||||
describe 'EPP Domain', epp: true do
|
||||
let(:server) { server = Epp::Server.new({server: 'localhost', tag: 'test', password: 'test'}) }
|
||||
|
||||
context 'with valid user' do
|
||||
before(:each) { Fabricate(:epp_user) }
|
||||
|
||||
it 'creates a domain' do
|
||||
response = epp_request('create_domain.xml')
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue