diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-24 15:27:05 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-24 15:27:05 +0400 |
commit | 9bb9267482cabaaaed70650929e4521527025494 (patch) | |
tree | 16b28f7f6430a60ff425d4b08fee3631a33ed999 /db | |
parent | d0b87eb05b71ee0fe2ff5385ef6047b032feb3e1 (diff) | |
parent | 5e08f8134ebb695c15bf9c8f1899efdb68c7336f (diff) |
Merge branch 'development_seed_fix' into 'master'
Development Project Seed Data Fix
After this commit https://dev.gitlab.org/gitlab/gitlabhq/commit/1d2bdb4d5880bb1ad39b62c81ff2971aa0cb3798 Contexts were replaced with Services. One context remained in the seed data which means development seeding will fail.
@dzaporozhets Do we want to backport this to 6.5 too?
/cc @jacobvosmaer @sytse
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/development/04_project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb index 990575306c3..50726a5a51e 100644 --- a/db/fixtures/development/04_project.rb +++ b/db/fixtures/development/04_project.rb @@ -40,7 +40,7 @@ project_urls.each_with_index do |url, i| description: Faker::Lorem.sentence } - project = Projects::CreateContext.new(User.first, params).execute + project = Projects::CreateService.new(User.first, params).execute if project.valid? print '.' |