test/govspeak_contacts_test.rb in govspeak-6.6.0 vs test/govspeak_contacts_test.rb in govspeak-6.7.0
- old
+ new
@@ -60,12 +60,12 @@
rendered = Govspeak::Document.new(govspeak, contacts: [contact]).to_html
expected_html_output = %(
<div id="contact_4f3383e4-48a2-4461-a41d-f85ea8b89ba0" class="contact postal-address">
<div class="content">
- <h3>Government Digital Service</h3>
<div class="vcard contact-inner">
+ <p>Government Digital Service</p>
<p class="adr">
<span class="street-address">125 Kingsway</span><br>
<span class="locality">Holborn</span><br>
<span class="region">London</span><br>
<span class="postal-code">WC2B 6NH</span>
@@ -104,11 +104,11 @@
govspeak = "[Contact:4f3383e4-48a2-4461-a41d-f85ea8b89ba0]"
rendered = Govspeak::Document.new(govspeak, contacts: [contact]).to_html
expected_html_output = %(
<div id="contact_4f3383e4-48a2-4461-a41d-f85ea8b89ba0" class="contact">
<div class="content">
- <h3>Government Digital Service</h3>
<div class="vcard contact-inner">
+ <p>Government Digital Service</p>
<div class="email-url-number">
<p class="email">
<span class="type">Email</span>
<a href="mailto:people@digital.cabinet-office.gov.uk" class="email">people@digital.cabinet-office.gov.uk</a>
</p>