0
0
Fork 0

Remove empty strings (#5732)

This commit is contained in:
ysksn 2017-11-17 10:52:30 +09:00 committed by Yamagishi Kazutoshi
parent 3e90987c8b
commit 9dd5e329ab
13 changed files with 48 additions and 48 deletions

View file

@ -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 ''