Add IP protection for REPP

This commit is contained in:
Martin Lensment 2015-05-19 19:12:43 +03:00
parent 8321f894d5
commit abf47b1e08
6 changed files with 39 additions and 6 deletions

View file

@ -10,6 +10,7 @@ Fabricator(:registrar) do
code { sequence(:code) { |i| "REGISTRAR#{i}" } }
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
accounts(count: 1)
white_ips { [Fabricate(:white_ip_repp, ipv4: '127.0.0.1')] }
end
Fabricator(:registrar_with_no_account_activities, from: :registrar) do

View file

@ -1,4 +1,9 @@
Fabricator(:white_ip) do
ipv4 '192.168.1.1'
interface WhiteIp::INTERFACE_EPP
interface WhiteIp::EPP
end
Fabricator(:white_ip_repp, from: :white_ip) do
ipv4 '127.0.0.1'
interface WhiteIp::REPP
end