diff options
Diffstat (limited to 'spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb')
-rw-r--r-- | spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb b/spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb index 7f6b3b86799..d147afbf3bd 100644 --- a/spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb +++ b/spec/lib/gitlab/dependency_linker/cargo_toml_linker_spec.rb @@ -70,7 +70,7 @@ RSpec.describe Gitlab::DependencyLinker::CargoTomlLinker do subject { Gitlab::Highlight.highlight(file_name, file_content) } def link(name, url) - %{<a href="#{url}" rel="nofollow noreferrer noopener" target="_blank">#{name}</a>} + %(<a href="#{url}" rel="nofollow noreferrer noopener" target="_blank">#{name}</a>) end it 'links dependencies' do |