summaryrefslogtreecommitdiff
path: root/spec/lib/banzai
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-11-19 23:08:23 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-11-22 01:01:23 +0900
commite902f462c213d1bb0cc56f298c7bef01befa0616 (patch)
tree1d9b1f7328e9a5f1e3fb2f047f764b97db772780 /spec/lib/banzai
parentd093bbaec526637bf0ce550b50002c19c7a1c056 (diff)
downloadgitlab-ce-e902f462c213d1bb0cc56f298c7bef01befa0616.tar.gz
Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r--spec/lib/banzai/filter/absolute_link_filter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/absolute_link_filter_spec.rb b/spec/lib/banzai/filter/absolute_link_filter_spec.rb
index a3ad056efcd..50be551cd90 100644
--- a/spec/lib/banzai/filter/absolute_link_filter_spec.rb
+++ b/spec/lib/banzai/filter/absolute_link_filter_spec.rb
@@ -28,7 +28,7 @@ describe Banzai::Filter::AbsoluteLinkFilter do
end
context 'if relative_url_root is set' do
- it 'joins the url without without doubling the path' do
+ it 'joins the url without doubling the path' do
allow(Gitlab.config.gitlab).to receive(:url).and_return("#{fake_url}/gitlab/")
doc = filter(link("/gitlab/foo", 'gfm'), only_path_context)
expect(doc.at_css('a')['href']).to eq "#{fake_url}/gitlab/foo"