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
d90dcc29
Commit
d90dcc29
authored
Dec 04, 2020
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformat new specs
parent
9a281ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
spec/requests/git_http_spec.rb
spec/requests/git_http_spec.rb
+9
-5
No files found.
spec/requests/git_http_spec.rb
View file @
d90dcc29
...
...
@@ -280,15 +280,19 @@ RSpec.describe 'Git HTTP requests' do
project
.
add_developer
(
user
)
end
context
'when user is using password with special characters'
do
it
'allows clones'
do
user
.
update!
(
password:
'RçKszEwéC5kFnû∆f243fycGu§Gh9ftDj!U'
)
context
'when user is using credentials with special characters'
do
context
'with password with special characters'
do
before
do
user
.
update!
(
password:
'RKszEwéC5kFnû∆f243fycGu§Gh9ftDj!U'
)
end
it
'allows clones'
do
download
(
path
,
user:
user
.
username
,
password:
user
.
password
)
do
|
response
|
expect
(
response
).
to
have_gitlab_http_status
(
:ok
)
end
end
end
end
context
'but the repo is disabled'
do
let
(
:project
)
{
create
(
:project
,
:wiki_repo
,
:private
,
:repository_disabled
,
:wiki_enabled
)
}
...
...
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