From 69783cb73e2440d2f2cc41d467301044f9de7751 Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 16 May 2018 12:11:18 +0200 Subject: [PATCH] removes unneeded spec --- spec/services/smart_annotations/html_preview_spec.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spec/services/smart_annotations/html_preview_spec.rb b/spec/services/smart_annotations/html_preview_spec.rb index 784366154..fb79699c2 100644 --- a/spec/services/smart_annotations/html_preview_spec.rb +++ b/spec/services/smart_annotations/html_preview_spec.rb @@ -86,13 +86,6 @@ describe SmartAnnotations::HtmlPreview do ) expect(trimmed_repository_name).to eq('Two') end - - it 'does not return 3 letters of the first word' do - trimmed_repository_name = subject.__send__( - :trim_repository_name, 'two words' - ) - expect(trimmed_repository_name).not_to eq('Two') - end end end end