diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-02-15 17:11:16 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-02-21 16:17:38 -0300 |
commit | 445709345f8a451b7882c81166063b8948688e0f (patch) | |
tree | ef312abc45d4f89dbffe71d6f62ef0afcf2566bd /spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb | |
parent | 66b20a66f4b25a69ff3f59da855ac2cb38c8bca9 (diff) | |
download | gitlab-ce-445709345f8a451b7882c81166063b8948688e0f.tar.gz |
Stop linking to unrecognized package sources
Diffstat (limited to 'spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb')
-rw-r--r-- | spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb b/spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb index 24ad7d12f4c..6c6a5d70576 100644 --- a/spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb +++ b/spec/lib/gitlab/dependency_linker/gemspec_linker_spec.rb @@ -43,8 +43,8 @@ describe Gitlab::DependencyLinker::GemspecLinker do %{<a href="#{url}" rel="nofollow noreferrer noopener" target="_blank">#{name}</a>} end - it 'links the gem name' do - expect(subject).to include(link('gitlab_git', 'https://rubygems.org/gems/gitlab_git')) + it 'does not link the gem name' do + expect(subject).not_to include(link('gitlab_git', 'https://rubygems.org/gems/gitlab_git')) end it 'links the license' do |