diff options
author | Stan Hu <stanhu@gmail.com> | 2017-12-27 14:05:34 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-12-27 14:05:34 +0000 |
commit | 3d56d93fc53308ad384a0aa22df970b58ea543e9 (patch) | |
tree | 8627e2eb0aa398ea27dcd0c3c5d8cae353801a45 | |
parent | af490ea87b20bfa5062bf661abdeff9012d5884a (diff) | |
parent | 9fcc40aeafe83cfdbc6f0fff0ebaf9e733983cfc (diff) | |
download | gitlab-ce-3d56d93fc53308ad384a0aa22df970b58ea543e9.tar.gz |
Merge branch 'fix_db_fixtures_06_teams' into 'master'
Fix Gitlab::Access.values to Gitlab::Access.sym_options at 06_teams on development db fixtures
See merge request gitlab-org/gitlab-ce!16144
-rw-r--r-- | db/fixtures/development/06_teams.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/06_teams.rb b/db/fixtures/development/06_teams.rb index 8afb0dde077..b218f4e71fd 100644 --- a/db/fixtures/development/06_teams.rb +++ b/db/fixtures/development/06_teams.rb @@ -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' |