mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Updated spec and rails helper
This commit is contained in:
parent
221c62c846
commit
155cb812d9
5 changed files with 32 additions and 28 deletions
|
@ -1,6 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
|
||||
describe 'EPP Keyrelay', epp: true do
|
||||
let(:server_zone) { Epp::Server.new({ server: 'localhost', tag: 'zone', password: 'ghyt9e4fu', port: 701 }) }
|
||||
let(:server_elkdata) { Epp::Server.new({ server: 'localhost', tag: 'elkdata', password: 'ghyt9e4fu', port: 701 }) }
|
||||
|
@ -9,8 +8,6 @@ describe 'EPP Keyrelay', epp: true do
|
|||
before(:each) { create_settings }
|
||||
|
||||
before(:all) do
|
||||
DatabaseCleaner.clean_with(:truncation)
|
||||
DatabaseCleaner.strategy = nil
|
||||
@elkdata = Fabricate(:registrar, { name: 'Elkdata', reg_no: '123' })
|
||||
@zone = Fabricate(:registrar)
|
||||
Fabricate(:epp_user, username: 'zone', registrar: @zone)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue