Merge repp, epp in IP whitelist

This commit is contained in:
Martin Lensment 2015-05-20 18:47:57 +03:00
parent de60ad8e76
commit df47e21086
7 changed files with 11 additions and 26 deletions

View file

@ -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