Turn off settings by default

- `registrar_ip_whitelist_enabled`
- `api_ip_whitelist_enabled`
This commit is contained in:
Artur Beljajev 2018-06-06 04:55:36 +03:00
parent 9f61dfdae7
commit 76d10b94c5
13 changed files with 25 additions and 33 deletions

View file

@ -31,8 +31,6 @@ RSpec.feature 'Contact deletion in registrar area' do
background do
allow(Depp::Contact).to receive(:find_by_id).and_return(FakeDeppContact.new)
allow(Depp::Contact).to receive(:new).and_return(FakeDeppContact.new)
Setting.api_ip_whitelist_enabled = false
Setting.registrar_ip_whitelist_enabled = false
sign_in_to_registrar_area(user: create(:api_user_with_unlimited_balance, registrar: registrar))
end