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
Léo-Paul Géneau
gitlab-ce
Commits
bc535d4f
Commit
bc535d4f
authored
May 21, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate the key while running the tests
parent
b113330f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
qa/qa/specs/features/project/deploy_key_clone_spec.rb
qa/qa/specs/features/project/deploy_key_clone_spec.rb
+7
-5
No files found.
qa/qa/specs/features/project/deploy_key_clone_spec.rb
View file @
bc535d4f
...
...
@@ -33,13 +33,15 @@ module QA
end
keys
=
[
Runtime
::
Key
::
RSA
.
new
(
8192
)
,
Runtime
::
Key
::
ECDSA
.
new
(
521
)
,
Runtime
::
Key
::
ED25519
.
new
[
Runtime
::
Key
::
RSA
,
8192
]
,
[
Runtime
::
Key
::
ECDSA
,
521
]
,
[
Runtime
::
Key
::
ED25519
]
]
keys
.
each
do
|
key
|
scenario
"user sets up a deploy key with
#{
key
.
name
}
(
#{
key
.
bits
}
) to clone code using pipelines"
do
keys
.
each
do
|
(
key_class
,
bits
)
|
scenario
"user sets up a deploy key with
#{
key_class
}
(
#{
bits
}
) to clone code using pipelines"
do
key
=
key_class
.
new
(
*
bits
)
login
Factory
::
Resource
::
DeployKey
.
fabricate!
do
|
resource
|
...
...
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