Remove the react-rails gem (#2801)

* Remove react-rails gem

* Fix broken view spec
This commit is contained in:
Matt Jankowski 2017-05-04 17:45:18 -04:00 committed by Eugen Rochko
parent 74c8ca699c
commit f9d398e8fb
7 changed files with 60 additions and 65 deletions

View file

@ -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: '')

View file

@ -1,9 +1,11 @@
require 'rails_helper'
$LOAD_PATH << '../lib'
require 'tag_manager'
# frozen_string_literal: true
describe 'about/show.html.haml' do
require 'rails_helper'
describe 'about/show.html.haml', without_verify_partial_doubles: true do
before do
allow(view).to receive(:site_hostname).and_return('example.com')
allow(view).to receive(:site_title).and_return('example site')
end
it 'has valid open graph tags' do