Remove empty strings (#5732)
This commit is contained in:
parent
3e90987c8b
commit
9dd5e329ab
13 changed files with 48 additions and 48 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue