|
|
@ -4,7 +4,7 @@ require 'rails_helper'
|
|
|
|
|
|
|
|
|
|
|
|
describe 'statuses/show.html.haml', :without_verify_partial_doubles do
|
|
|
|
describe 'statuses/show.html.haml', :without_verify_partial_doubles do
|
|
|
|
before do
|
|
|
|
before do
|
|
|
|
allow(view).to receive_messages(api_oembed_url: '', show_landing_strip?: true, site_title: 'example site', site_hostname: 'example.com', full_asset_url: '//asset.host/image.svg', current_account: nil, single_user_mode?: false)
|
|
|
|
allow(view).to receive_messages(api_oembed_url: '', site_title: 'example site', site_hostname: 'example.com', full_asset_url: '//asset.host/image.svg', current_account: nil, single_user_mode?: false)
|
|
|
|
allow(view).to receive(:local_time)
|
|
|
|
allow(view).to receive(:local_time)
|
|
|
|
allow(view).to receive(:local_time_ago)
|
|
|
|
allow(view).to receive(:local_time_ago)
|
|
|
|
assign(:instance_presenter, InstancePresenter.new)
|
|
|
|
assign(:instance_presenter, InstancePresenter.new)
|
|
|
|