Remove unused show_landing_strip?
helper method (#29618)
This commit is contained in:
parent
ecdbf15ebe
commit
92855948a0
3 changed files with 1 additions and 35 deletions
|
@ -4,7 +4,7 @@ require 'rails_helper'
|
|||
|
||||
describe 'statuses/show.html.haml', :without_verify_partial_doubles 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_ago)
|
||||
assign(:instance_presenter, InstancePresenter.new)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue