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
eb815926
Commit
eb815926
authored
Jul 10, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add HAML views specs
Added spes for dast_profiles/index and dast_site_profiles/new
parent
b77e4e14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
ee/spec/views/projects/dast_profiles/index.html.haml_spec.rb
ee/spec/views/projects/dast_profiles/index.html.haml_spec.rb
+14
-0
ee/spec/views/projects/dast_site_profiles/new.html.haml_spec.rb
...c/views/projects/dast_site_profiles/new.html.haml_spec.rb
+14
-0
No files found.
ee/spec/views/projects/dast_profiles/index.html.haml_spec.rb
0 → 100644
View file @
eb815926
# frozen_string_literal: true
require
'spec_helper'
RSpec
.
describe
"projects/dast_profiles/index"
,
type: :view
do
before
do
@project
=
create
(
:project
)
render
end
it
'renders a placeholder title'
do
expect
(
rendered
).
to
have_content
(
'Manage profiles'
)
end
end
ee/spec/views/projects/dast_site_profiles/new.html.haml_spec.rb
0 → 100644
View file @
eb815926
# frozen_string_literal: true
require
'spec_helper'
RSpec
.
describe
"projects/dast_site_profiles/new"
,
type: :view
do
before
do
@project
=
create
(
:project
)
render
end
it
'renders a placeholder title'
do
expect
(
rendered
).
to
have_content
(
'New Site Profile'
)
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