Remove unused show_landing_strip? helper method (#29618)

This commit is contained in:
Matt Jankowski 2024-03-18 04:55:54 -04:00 committed by GitHub
parent ecdbf15ebe
commit 92855948a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 35 deletions

View file

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