Use random group name to prevent conflicts

This commit is contained in:
Douwe Maan 2017-02-06 22:08:51 -06:00
parent ffcbc63693
commit f5a798c743

View file

@ -51,7 +51,7 @@ describe Groups::UpdateService, services: true do
end end
context 'rename group' do context 'rename group' do
let!(:service) { described_class.new(internal_group, user, path: 'new_path') } let!(:service) { described_class.new(internal_group, user, path: SecureRandom.hex) }
before do before do
internal_group.add_user(user, Gitlab::Access::MASTER) internal_group.add_user(user, Gitlab::Access::MASTER)