diff options
Diffstat (limited to 'spec/factories/todos.rb')
-rw-r--r-- | spec/factories/todos.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb index f426e27afed..866e663f026 100644 --- a/spec/factories/todos.rb +++ b/spec/factories/todos.rb @@ -22,5 +22,13 @@ FactoryGirl.define do trait :build_failed do action { Todo::BUILD_FAILED } end + + trait :approval_required do + action { Todo::APPROVAL_REQUIRED } + end + + trait :done do + state :done + end end end |