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
d3ae87b0
Commit
d3ae87b0
authored
Aug 06, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use consitent syntax in Ruby helper
parent
47ca3421
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/helpers/projects/on_demand_scans_helper.rb
ee/app/helpers/projects/on_demand_scans_helper.rb
+2
-2
ee/spec/helpers/projects/on_demand_scans_helper_spec.rb
ee/spec/helpers/projects/on_demand_scans_helper_spec.rb
+2
-2
No files found.
ee/app/helpers/projects/on_demand_scans_helper.rb
View file @
d3ae87b0
...
...
@@ -7,8 +7,8 @@ module Projects::OnDemandScansHelper
'empty-state-svg-path'
=>
image_path
(
'illustrations/empty-state/ondemand-scan-empty.svg'
),
'default-branch'
=>
project
.
default_branch
,
'project-path'
=>
project
.
path_with_namespace
,
'profiles-library-path'
:
project_profiles_path
(
project
),
'new-site-profile-path'
:
new_project_dast_site_profile_path
(
project
)
'profiles-library-path'
=>
project_profiles_path
(
project
),
'new-site-profile-path'
=>
new_project_dast_site_profile_path
(
project
)
}
end
end
ee/spec/helpers/projects/on_demand_scans_helper_spec.rb
View file @
d3ae87b0
...
...
@@ -12,8 +12,8 @@ RSpec.describe Projects::OnDemandScansHelper do
'empty-state-svg-path'
=>
match_asset_path
(
'/assets/illustrations/empty-state/ondemand-scan-empty.svg'
),
'default-branch'
=>
project
.
default_branch
,
'project-path'
=>
project
.
path_with_namespace
,
'profiles-library-path'
:
project_profiles_path
(
project
),
'new-site-profile-path'
:
new_project_dast_site_profile_path
(
project
)
'profiles-library-path'
=>
project_profiles_path
(
project
),
'new-site-profile-path'
=>
new_project_dast_site_profile_path
(
project
)
)
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