Commit 5dc31622 authored by Alexandru Croitor's avatar Alexandru Croitor

Remove unneeded :repository trait

parent 55baa3a3
......@@ -79,7 +79,7 @@ RSpec.describe Admin::ProjectsController do
end
describe 'PUT /projects/transfer/:id' do
let_it_be(:project, reload: true) { create(:project, :repository) }
let_it_be(:project, reload: true) { create(:project) }
let_it_be(:new_namespace) { create(:namespace) }
it 'updates namespace' do
......
......@@ -748,7 +748,7 @@ RSpec.describe ProjectsController do
describe '#transfer', :enable_admin_mode do
render_views
let_it_be(:project, reload: true) { create(:project, :repository) }
let_it_be(:project, reload: true) { create(:project) }
let_it_be(:admin) { create(:admin) }
let_it_be(:new_namespace) { create(:namespace) }
......
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