mirror of
https://github.com/internetee/registry.git
synced 2025-08-11 20:19:34 +02:00
parent
6e597f39e8
commit
457b73a28e
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe 'Registrar area IP restriction', settings: false do
|
RSpec.describe 'Registrar area IP restriction', settings: false do
|
||||||
describe 'authenticated area' do
|
context 'when authenticated' do
|
||||||
before do
|
before do
|
||||||
sign_in_to_registrar_area
|
sign_in_to_registrar_area
|
||||||
end
|
end
|
||||||
|
@ -51,7 +51,7 @@ RSpec.describe 'Registrar area IP restriction', settings: false do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'unauthenticated area' do
|
context 'when unauthenticated' do
|
||||||
context 'when IP restriction is enabled' do
|
context 'when IP restriction is enabled' do
|
||||||
before do
|
before do
|
||||||
Setting.registrar_ip_whitelist_enabled = true
|
Setting.registrar_ip_whitelist_enabled = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue