diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-04 19:14:04 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-31 18:31:21 +0100 |
commit | a2718ebaffd431b1eec91f3ee467d9632309b5f2 (patch) | |
tree | cb9953a334be6f4e026d1ed35ef57130b731d7e3 /spec/factories/timelogs.rb | |
parent | 9c34c023808b38303d4988a20f62645c552951e3 (diff) | |
download | gitlab-ce-a2718ebaffd431b1eec91f3ee467d9632309b5f2.tar.gz |
Make user/author use project.creator in most factories
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories/timelogs.rb')
-rw-r--r-- | spec/factories/timelogs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/timelogs.rb b/spec/factories/timelogs.rb index af34b0681e2..b45f06b9a0a 100644 --- a/spec/factories/timelogs.rb +++ b/spec/factories/timelogs.rb @@ -3,7 +3,7 @@ FactoryBot.define do factory :timelog do time_spent 3600 - user issue + user { issue.project.creator } end end |