mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Remove unused helper method in spec (#31699)
This commit is contained in:
parent
48379e62e4
commit
25bbb01666
1 changed files with 0 additions and 6 deletions
|
@ -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 a new issue