0
0
Fork 0

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

@ -1,12 +1,17 @@
require 'rails_helper'
$LOAD_PATH << '../lib'
require 'tag_manager'
# frozen_string_literal: true
describe 'stream_entries/show.html.haml' do
require 'rails_helper'
describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true do
before do
double(:api_oembed_url => '')
double(:account_stream_entry_url => '')
allow(view).to receive(:show_landing_strip?).and_return(true)
allow(view).to receive(:site_title).and_return('example site')
allow(view).to receive(:site_hostname).and_return('example.com')
allow(view).to receive(:full_asset_url).and_return('//asset.host/image.svg')
allow(view).to receive(:local_time)
allow(view).to receive(:local_time_ago)
end
it 'has valid author h-card and basic data for a detailed_status' do