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
0663d72d
Commit
0663d72d
authored
Sep 02, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore SSH Key title auto-population behavior
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/21823
parent
404f438f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
CHANGELOG
CHANGELOG
+1
-0
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/index.html.haml
+1
-0
spec/features/profiles/keys_spec.rb
spec/features/profiles/keys_spec.rb
+18
-0
No files found.
CHANGELOG
View file @
0663d72d
...
...
@@ -131,6 +131,7 @@ v 8.12.0 (unreleased)
v 8.11.6 (unreleased)
- Fix an error where we were unable to create a CommitStatus for running state
- Restore SSH Key title auto-population behavior. !6186
v 8.11.5
- Optimize branch lookups and force a repository reload for Repository#find_branch. !6087
...
...
app/views/profiles/keys/index.html.haml
View file @
0663d72d
-
page_title
"SSH Keys"
=
render
'profiles/head'
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
...
...
spec/features/profiles/keys_spec.rb
0 → 100644
View file @
0663d72d
require
'rails_helper'
describe
'Profile > SSH Keys'
,
feature:
true
do
let
(
:user
)
{
create
(
:user
)
}
before
do
login_as
(
user
)
visit
profile_keys_path
end
describe
'User adds an SSH key'
do
it
'auto-populates the title'
,
js:
true
do
fill_in
(
'Key'
,
with:
attributes_for
(
:key
).
fetch
(
:key
))
expect
(
find_field
(
'Title'
).
value
).
to
eq
'dummy@gitlab.com'
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