Fix Rubocop warnings

This commit is contained in:
Artur Beljajev 2018-07-15 19:26:43 +03:00
parent 02aad0d781
commit a651ac8cab
13 changed files with 26 additions and 20 deletions

View file

@ -12,7 +12,8 @@ class Registrar
attributes: { hostname: params[:new_hostname],
ipv4: ipv4,
ipv6: ipv6 } } }.to_json
request.basic_auth(current_registrar_user.username, current_registrar_user.plain_text_password)
request.basic_auth(current_registrar_user.username,
current_registrar_user.plain_text_password)
if Rails.env.test?
response = Net::HTTP.start(uri.hostname, uri.port,