Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
48d4f444
Commit
48d4f444
authored
Aug 20, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken specs
parent
7820a099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/helpers/snippets_helper_spec.rb
spec/helpers/snippets_helper_spec.rb
+1
-1
No files found.
spec/helpers/snippets_helper_spec.rb
View file @
48d4f444
...
...
@@ -109,7 +109,7 @@ RSpec.describe SnippetsHelper do
end
def
download_link
(
url
)
"<a target=
\"
_blank
\"
rel=
\"
noopener noreferrer
\"
class=
\"
btn btn-sm has-tooltip
\"
title=
\"
Download
\"
data-container=
\"
body
\"
href=
\"
#{
url
}
?inline=false
\"
>
<i aria-hidden=
\"
true
\"
data-hidden=
\"
true
\"
class=
\"
fa fa-download
\"
></i>
</a>"
"<a target=
\"
_blank
\"
rel=
\"
noopener noreferrer
\"
class=
\"
btn btn-sm has-tooltip
\"
title=
\"
Download
\"
data-container=
\"
body
\"
href=
\"
#{
url
}
?inline=false
\"
>
#{
sprite_icon
(
'download'
)
}
</a>"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment