Remove empty strings (#5732)
This commit is contained in:
committed by
Yamagishi Kazutoshi
parent
3e90987c8b
commit
9dd5e329ab
@ -77,7 +77,7 @@ RSpec.describe StreamEntriesHelper, type: :helper do
|
||||
params[:controller] = StreamEntriesHelper::EMBEDDED_CONTROLLER
|
||||
params[:action] = StreamEntriesHelper::EMBEDDED_ACTION
|
||||
end
|
||||
|
||||
|
||||
describe '#style_classes' do
|
||||
it do
|
||||
status = double(reblog?: false)
|
||||
@ -202,7 +202,7 @@ RSpec.describe StreamEntriesHelper, type: :helper do
|
||||
expect(css_class).to eq 'h-cite'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
describe '#rtl?' do
|
||||
it 'is false if text is empty' do
|
||||
expect(helper).not_to be_rtl ''
|
||||
|
Reference in New Issue
Block a user