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
fb1b88de
Commit
fb1b88de
authored
Nov 09, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing the local url
parent
687e7dea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/helpers/icons_helper_spec.rb
spec/helpers/icons_helper_spec.rb
+2
-2
No files found.
spec/helpers/icons_helper_spec.rb
View file @
fb1b88de
...
@@ -31,7 +31,7 @@ describe IconsHelper do
...
@@ -31,7 +31,7 @@ describe IconsHelper do
it
'returns an absolute URL on that asset host'
do
it
'returns an absolute URL on that asset host'
do
expect
(
sprite_icon_path
())
expect
(
sprite_icon_path
())
.
to
eq
icons_path
(
)
.
to
eq
ActionController
::
Base
.
helpers
.
image_path
(
"icons.svg"
,
host:
Gitlab
.
config
.
gitlab
.
url
)
end
end
end
end
end
end
...
@@ -162,6 +162,6 @@ describe IconsHelper do
...
@@ -162,6 +162,6 @@ describe IconsHelper do
end
end
def
icons_path
def
icons_path
ActionController
::
Base
.
helpers
.
image_path
(
"icons.svg"
,
host:
Gitlab
.
config
.
gitlab
.
url
)
ActionController
::
Base
.
helpers
.
image_path
(
"icons.svg"
)
end
end
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