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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2078cb4e
Commit
2078cb4e
authored
Dec 28, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename DeployKey to DeployKeys
parent
7377b97c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
qa/qa.rb
qa/qa.rb
+1
-1
qa/qa/page/project/settings/deploy_keys.rb
qa/qa/page/project/settings/deploy_keys.rb
+1
-1
qa/qa/specs/features/project/add_deploy_key_spec.rb
qa/qa/specs/features/project/add_deploy_key_spec.rb
+2
-2
No files found.
qa/qa.rb
View file @
2078cb4e
...
...
@@ -89,7 +89,7 @@ module QA
module
Settings
autoload
:Repository
,
'qa/page/project/settings/repository'
autoload
:DeployKey
,
'qa/page/project/settings/deploy_key
'
autoload
:DeployKey
s
,
'qa/page/project/settings/deploy_keys
'
end
end
...
...
qa/qa/page/project/settings/deploy_key.rb
→
qa/qa/page/project/settings/deploy_key
s
.rb
View file @
2078cb4e
...
...
@@ -2,7 +2,7 @@ module QA
module
Page
module
Project
module
Settings
class
DeployKey
<
Repository
class
DeployKey
s
<
Repository
def
initialize
super
...
...
qa/qa/specs/features/project/add_deploy_key_spec.rb
View file @
2078cb4e
...
...
@@ -18,14 +18,14 @@ module QA
given
(
:deploy_key_data
)
{
Runtime
::
User
.
ssh_key
}
scenario
'user adds a deploy key'
do
Page
::
Project
::
Settings
::
DeployKey
.
perform
do
|
deploy_key
|
Page
::
Project
::
Settings
::
DeployKey
s
.
perform
do
|
deploy_key
|
deploy_key
.
fill_new_deploy_key_title
(
deploy_key_title
)
deploy_key
.
fill_new_deploy_key_key
(
deploy_key_data
)
deploy_key
.
add_key
end
Page
::
Project
::
Settings
::
DeployKey
.
perform
do
|
deploy_key
|
Page
::
Project
::
Settings
::
DeployKey
s
.
perform
do
|
deploy_key
|
expect
(
deploy_key
).
to
have_key_title
(
deploy_key_title
)
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