mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Updated specs
This commit is contained in:
parent
4abf005241
commit
30454cc196
2 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,7 @@ class Registrar::SessionsController < Devise::SessionsController
|
||||||
redirect_to :back and return
|
redirect_to :back and return
|
||||||
end
|
end
|
||||||
|
|
||||||
if @api_user.can(:create, :epp_login)
|
if @api_user.can?(:create, :epp_login)
|
||||||
unless @api_user.registrar.api_ip_white?(request.ip)
|
unless @api_user.registrar.api_ip_white?(request.ip)
|
||||||
flash[:alert] = I18n.t(:ip_is_not_whitelisted)
|
flash[:alert] = I18n.t(:ip_is_not_whitelisted)
|
||||||
redirect_to :back and return
|
redirect_to :back and return
|
||||||
|
|
|
@ -54,7 +54,6 @@ feature 'Domains', type: :feature do
|
||||||
|
|
||||||
page.should_not have_text(d1.name)
|
page.should_not have_text(d1.name)
|
||||||
page.should have_text(d2.name)
|
page.should have_text(d2.name)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should search domains' do
|
it 'should search domains' do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue