From f9d398e8fb2fe17694949ec1654df60298b0004b Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 4 May 2017 17:45:18 -0400 Subject: Remove the react-rails gem (#2801) * Remove react-rails gem * Fix broken view spec --- spec/views/about/_contact.html.haml_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (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 2a6decbce..d2e7a4598 100644 --- a/spec/views/about/_contact.html.haml_spec.rb +++ b/spec/views/about/_contact.html.haml_spec.rb @@ -3,7 +3,11 @@ require 'rails_helper' describe 'about/_contact.html.haml' do - describe 'the contact account' do + describe 'the contact account', without_verify_partial_doubles: true do + before do + allow(view).to receive(:display_name).and_return('Display Name!') + end + it 'shows info when account is present' do account = Account.new(username: 'admin') contact = double(contact_account: account, site_contact_email: '') -- cgit