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
23b553ee
Commit
23b553ee
authored
Oct 02, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace before(:all) and before(:context) for screenshots
parent
333632f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
+2
-5
qa/qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb
...s/api/3_create/repository/project_archive_compare_spec.rb
+1
-1
No files found.
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
View file @
23b553ee
...
@@ -3,11 +3,8 @@
...
@@ -3,11 +3,8 @@
module
QA
module
QA
context
'Manage with IP rate limits'
,
:requires_admin
do
context
'Manage with IP rate limits'
,
:requires_admin
do
describe
'Users API'
do
describe
'Users API'
do
before
(
:context
)
do
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
:gitlab
,
ip_limits:
true
)
}
@api_client
=
Runtime
::
API
::
Client
.
new
(
:gitlab
,
ip_limits:
true
)
let
(
:request
)
{
Runtime
::
API
::
Request
.
new
(
api_client
,
'/users'
)
}
end
let
(
:request
)
{
Runtime
::
API
::
Request
.
new
(
@api_client
,
'/users'
)
}
it
'GET /users'
do
it
'GET /users'
do
5
.
times
do
5
.
times
do
...
...
qa/qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb
View file @
23b553ee
...
@@ -8,7 +8,7 @@ module QA
...
@@ -8,7 +8,7 @@ module QA
describe
'Compare archives of different user projects with the same name and check they\'re different'
do
describe
'Compare archives of different user projects with the same name and check they\'re different'
do
include
Support
::
Api
include
Support
::
Api
before
(
:all
)
do
before
do
@project_name
=
"project-archive-download-
#{
SecureRandom
.
hex
(
8
)
}
"
@project_name
=
"project-archive-download-
#{
SecureRandom
.
hex
(
8
)
}
"
@archive_types
=
%w(tar.gz tar.bz2 tar zip)
@archive_types
=
%w(tar.gz tar.bz2 tar zip)
@users
=
{
@users
=
{
...
...
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