mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Merge repp, epp in IP whitelist
This commit is contained in:
parent
de60ad8e76
commit
df47e21086
7 changed files with 11 additions and 26 deletions
|
@ -26,7 +26,7 @@ feature 'Api users', type: :feature do
|
|||
|
||||
fill_in 'IPv4', with: '192.168.1.1'
|
||||
fill_in 'IPv6', with: 'FE80:0000:0000:0000:0202:B3FF:FE1E:8329'
|
||||
select 'REPP', from: 'Interface'
|
||||
select 'API', from: 'Interface'
|
||||
click_button 'Save'
|
||||
|
||||
page.should have_text('Record created')
|
||||
|
@ -34,14 +34,14 @@ feature 'Api users', type: :feature do
|
|||
page.should have_link(@registrar.to_s)
|
||||
page.should have_text('192.168.1.1')
|
||||
page.should have_text('FE80:0000:0000:0000:0202:B3FF:FE1E:8329')
|
||||
page.should have_text('REPP')
|
||||
page.should have_text('API')
|
||||
|
||||
click_link @registrar.to_s
|
||||
|
||||
current_path.should == "/admin/registrars/#{@registrar.id}"
|
||||
page.should have_text('192.168.1.1')
|
||||
page.should have_text('FE80:0000:0000:0000:0202:B3FF:FE1E:8329')
|
||||
page.should have_text('REPP')
|
||||
page.should have_text('API')
|
||||
end
|
||||
|
||||
it 'should not add invalid ip to registrar' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue