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

Reformat new specs

parent 9a281ff0
......@@ -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) }
......
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