mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Fix tests #2713
This commit is contained in:
parent
c6073c7e87
commit
b5afff1c79
4 changed files with 3 additions and 7 deletions
|
@ -9,7 +9,7 @@ Fabricator(:registrar) do
|
|||
country_code 'EE'
|
||||
code { sequence(:code) { |i| "REGISTRAR#{i}" } }
|
||||
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
|
||||
white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interface: WhiteIp::REGISTRAR)] }
|
||||
white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interfaces: [WhiteIp::REGISTRAR])] }
|
||||
end
|
||||
|
||||
Fabricator(:registrar_with_no_account_activities, from: :registrar) do
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
Fabricator(:white_ip) do
|
||||
ipv4 '127.0.0.1'
|
||||
interface WhiteIp::API
|
||||
interfaces [WhiteIp::API]
|
||||
end
|
||||
|
||||
Fabricator(:white_ip_registrar, from: :white_ip) do
|
||||
interface WhiteIp::REGISTRAR
|
||||
interfaces [WhiteIp::REGISTRAR]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue