diff options
Diffstat (limited to 'spec/factories/merge_requests.rb')
-rw-r--r-- | spec/factories/merge_requests.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/merge_requests.rb b/spec/factories/merge_requests.rb index 40068d0da0d..fce44c2cee0 100644 --- a/spec/factories/merge_requests.rb +++ b/spec/factories/merge_requests.rb @@ -21,6 +21,14 @@ FactoryBot.define do merge_status { "can_be_merged" } + trait :draft_merge_request do + title { generate(:draft_title) } + end + + trait :wip_merge_request do + title { generate(:wip_title) } + end + trait :jira_title do title { generate(:jira_title) } end |