Fix Gitlab::Access.values to Gitlab::Access.sym_options at 06_teams on development db fixtures
This commit is contained in:
parent
0a2597324b
commit
9fcc40aeaf
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Sidekiq::Testing.inline! do
|
||||||
|
|
||||||
Project.all.each do |project|
|
Project.all.each do |project|
|
||||||
User.all.sample(4).each do |user|
|
User.all.sample(4).each do |user|
|
||||||
if project.add_role(user, Gitlab::Access.values.sample)
|
if project.add_role(user, Gitlab::Access.sym_options.keys.sample)
|
||||||
print '.'
|
print '.'
|
||||||
else
|
else
|
||||||
print 'F'
|
print 'F'
|
||||||
|
|
Loading…
Reference in a new issue