diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-08-01 08:58:49 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-08-01 08:58:49 +0000 |
commit | 6b2b3d7f49db024678775da3a3685bbdd9bbee65 (patch) | |
tree | 2108bf9c394c2e3197ba994ef40e1b02d799bf55 /spec/factories | |
parent | bd659f70b18be07dac184ca249c7eee17c703e56 (diff) | |
download | gitlab-ce-6b2b3d7f49db024678775da3a3685bbdd9bbee65.tar.gz |
Resource event model
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/resource_label_events.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/resource_label_events.rb b/spec/factories/resource_label_events.rb new file mode 100644 index 00000000000..a67ad78c098 --- /dev/null +++ b/spec/factories/resource_label_events.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :resource_label_event do + user { issue.project.creator } + action :add + label + issue + end +end |