BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
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