summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorogom <ogom@outlook.com>2017-12-27 18:55:57 +0900
committerogom <ogom@outlook.com>2017-12-27 18:55:57 +0900
commit9fcc40aeafe83cfdbc6f0fff0ebaf9e733983cfc (patch)
tree732f9749bdbb5e4ee65f17c82f9ae3115c4ded20
parent0a2597324b24c8f15b324da4df177c93eb8e72d9 (diff)
downloadgitlab-ce-9fcc40aeafe83cfdbc6f0fff0ebaf9e733983cfc.tar.gz
Fix Gitlab::Access.values to Gitlab::Access.sym_options at 06_teams on development db fixtures
-rw-r--r--db/fixtures/development/06_teams.rb2
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'