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