summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-11 16:04:42 -0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-07-01 10:49:34 +0200
commita1f224d3f7b43bf2f58917e5045dcc2bdb33964d (patch)
treeef8559f8b042a87e377779a51b0badb43b31fe97 /spec/factories
parentab81ea1e8177742a0dfed2c7cf922bb03a8b6c51 (diff)
downloadgitlab-ce-a1f224d3f7b43bf2f58917e5045dcc2bdb33964d.tar.gz
Add Todos API
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/todos.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb
index f426e27afed..7fc20cd5555 100644
--- a/spec/factories/todos.rb
+++ b/spec/factories/todos.rb
@@ -22,5 +22,9 @@ FactoryGirl.define do
trait :build_failed do
action { Todo::BUILD_FAILED }
end
+
+ trait :done do
+ state :done
+ end
end
end