Fix Gitlab::Access.values to Gitlab::Access.sym_options at 06_teams on development db fixtures

This commit is contained in:
ogom 2017-12-27 18:55:57 +09:00
parent 0a2597324b
commit 9fcc40aeaf

View file

@ -14,7 +14,7 @@ Sidekiq::Testing.inline! do
Project.all.each do |project|
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 '.'
else
print 'F'