mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Cleaned up rspec create settings and refactored whois_record
This commit is contained in:
parent
acab58b71c
commit
4cf57239a0
32 changed files with 210 additions and 198 deletions
|
@ -2,7 +2,6 @@ require 'rails_helper'
|
|||
|
||||
describe 'EPP Contact', epp: true do
|
||||
before :all do
|
||||
create_settings
|
||||
@registrar1 = Fabricate(:registrar1)
|
||||
@registrar2 = Fabricate(:registrar2)
|
||||
@epp_xml = EppXml::Contact.new(cl_trid: 'ABC-12345')
|
||||
|
|
|
@ -2,7 +2,6 @@ require 'rails_helper'
|
|||
|
||||
describe 'EPP Domain', epp: true do
|
||||
before(:all) do
|
||||
create_settings
|
||||
@epp_xml = EppXml.new(cl_trid: 'ABC-12345')
|
||||
@registrar1 = Fabricate(:registrar1)
|
||||
@registrar2 = Fabricate(:registrar2)
|
||||
|
|
|
@ -2,7 +2,6 @@ require 'rails_helper'
|
|||
|
||||
describe 'EPP Keyrelay', epp: true do
|
||||
before(:all) do
|
||||
create_settings
|
||||
@registrar1 = Fabricate(:registrar1)
|
||||
@registrar2 = Fabricate(:registrar2)
|
||||
@domain = Fabricate(:domain, registrar: @registrar2)
|
||||
|
|
|
@ -18,8 +18,6 @@ describe 'EPP Poll', epp: true do
|
|||
login_as :registrar1
|
||||
|
||||
@uniq_no = proc { @i ||= 0; @i += 1 }
|
||||
|
||||
create_settings
|
||||
end
|
||||
|
||||
it 'returns no messages in poll' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue