Commit d90dcc29 authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Reformat new specs

parent 9a281ff0
...@@ -280,12 +280,16 @@ RSpec.describe 'Git HTTP requests' do ...@@ -280,12 +280,16 @@ RSpec.describe 'Git HTTP requests' do
project.add_developer(user) project.add_developer(user)
end end
context 'when user is using password with special characters' do context 'when user is using credentials with special characters' do
it 'allows clones' do context 'with password with special characters' do
user.update!(password: 'RçKszEwéC5kFnû∆f243fycGu§Gh9ftDj!U') before do
user.update!(password: 'RKszEwéC5kFnû∆f243fycGu§Gh9ftDj!U')
end
download(path, user: user.username, password: user.password) do |response| it 'allows clones' do
expect(response).to have_gitlab_http_status(:ok) download(path, user: user.username, password: user.password) do |response|
expect(response).to have_gitlab_http_status(:ok)
end
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment