diff options
author | Sean McGivern <sean@gitlab.com> | 2016-07-11 11:02:11 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-07-12 19:01:09 +0100 |
commit | d957d5f1aa45d3a8474678e5439ccdc09a545482 (patch) | |
tree | a2de9685f2c15594c1bfa9dc6703d0c5b32c6558 /spec | |
parent | eac0433f864b89a19bd3ca82afaf7957a9a3148f (diff) | |
download | gitlab-ce-d957d5f1aa45d3a8474678e5439ccdc09a545482.tar.gz |
Add approval required todosapproval-required-todo
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/todos.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb index 7fc20cd5555..866e663f026 100644 --- a/spec/factories/todos.rb +++ b/spec/factories/todos.rb @@ -23,6 +23,10 @@ FactoryGirl.define do action { Todo::BUILD_FAILED } end + trait :approval_required do + action { Todo::APPROVAL_REQUIRED } + end + trait :done do state :done end |