mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 06:06:45 +00: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
|
||||||
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') }
|
||||||
|
|
Loading…
Reference in a new issue