diff options
author | ysksn <bluewhale1982@gmail.com> | 2017-11-17 10:52:30 +0900 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-11-17 10:52:30 +0900 |
commit | 9dd5e329ab5edab705c5622bc97f93bd5c50976b (patch) | |
tree | 4b84681131e58107ffeebac9412f7577f93fbaf1 /spec/helpers | |
parent | 3e90987c8b0c620b6fc104350b8eb16d17d7e80a (diff) |
Remove empty strings (#5732)
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/stream_entries_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/stream_entries_helper_spec.rb b/spec/helpers/stream_entries_helper_spec.rb index 2c0d7b239..1de6691ba 100644 --- a/spec/helpers/stream_entries_helper_spec.rb +++ b/spec/helpers/stream_entries_helper_spec.rb @@ -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 '' |