From 554894c8e2d05320860f9ee77c61c5aed84e1a33 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 24 May 2018 21:53:08 +0300 Subject: [PATCH] Fix visibility #39 --- app/views/whois_records/_private_person.html.erb | 2 +- test/integration/whois_records/html_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/whois_records/_private_person.html.erb b/app/views/whois_records/_private_person.html.erb index 7082b479..015d800c 100644 --- a/app/views/whois_records/_private_person.html.erb +++ b/app/views/whois_records/_private_person.html.erb @@ -12,7 +12,7 @@ delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %> Registrant: name: <%= ip_in_whitelist ? json['registrant'] : 'Private Person' %> email: <%= ip_in_whitelist ? json['email'] : 'Not Disclosed' %> -changed: <%= ip_in_whitelist ? json['changed'].to_s.tr('T',' ').sub('+', ' +') : 'Not Disclosed' %> +changed: <%= ip_in_whitelist ? json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') : 'Not Disclosed' %> <%- if json['admin_contacts'].present? -%> Administrative contact: diff --git a/test/integration/whois_records/html_test.rb b/test/integration/whois_records/html_test.rb index 5a99adb6..597a3cf7 100644 --- a/test/integration/whois_records/html_test.rb +++ b/test/integration/whois_records/html_test.rb @@ -171,7 +171,7 @@ def test_show_sensitive_data_of_private_entity_when_ip_is_in_whitelist Registrant: name: test email: owner@privatedomain.test - changed: 2018-04-25 14:10:41 +03:00 + changed: 2018-04-25 14:10:39 +03:00 Administrative contact: name: Admin Contact