From 029f2c4545de617f82c1dfaea3543a9bd75ebcab Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 24 Jul 2017 17:15:15 +0200 Subject: Redesign /terms page (#4338) * Redesign /terms page * Fix tests * Remove unused keys --- spec/views/about/_contact.html.haml_spec.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'spec/views/about/_contact.html.haml_spec.rb') diff --git a/spec/views/about/_contact.html.haml_spec.rb b/spec/views/about/_contact.html.haml_spec.rb index d2e7a4598..25ba15794 100644 --- a/spec/views/about/_contact.html.haml_spec.rb +++ b/spec/views/about/_contact.html.haml_spec.rb @@ -31,12 +31,5 @@ describe 'about/_contact.html.haml' do expect(rendered).to have_content('admin@example.com') end - - it 'does not show info when email is missing' do - contact = double(site_contact_email: nil, contact_account: nil) - render 'about/contact', contact: contact - - expect(rendered).not_to have_content(I18n.t('about.business_email')) - end end end -- cgit