Remove unused helper method in spec (#31699)

This commit is contained in:
Matt Jankowski 2024-09-03 04:04:22 -04:00 committed by GitHub
parent 48379e62e4
commit 25bbb01666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,12 +23,6 @@ describe StatusesHelper do
end end
end end
def status_text_summary(status)
return if status.spoiler_text.blank?
I18n.t('statuses.content_warning', warning: status.spoiler_text)
end
describe 'fa_visibility_icon' do describe 'fa_visibility_icon' do
context 'with a status that is public' do context 'with a status that is public' do
let(:status) { Status.new(visibility: 'public') } let(:status) { Status.new(visibility: 'public') }