mirror of
https://github.com/funamitech/mastodon
synced 2024-11-23 22:57:05 +09:00
Remove unused helper method in spec (#31699)
This commit is contained in:
parent
48379e62e4
commit
25bbb01666
@ -23,12 +23,6 @@ describe StatusesHelper do
|
||||
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
|
||||
context 'with a status that is public' do
|
||||
let(:status) { Status.new(visibility: 'public') }
|
||||
|
Loading…
Reference in New Issue
Block a user