Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-11 22:04:42 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-07-01 11:49:34 +0300
commita1f224d3f7b43bf2f58917e5045dcc2bdb33964d (patch)
treeef8559f8b042a87e377779a51b0badb43b31fe97 /spec/factories/todos.rb
parentab81ea1e8177742a0dfed2c7cf922bb03a8b6c51 (diff)
Add Todos API
Diffstat (limited to 'spec/factories/todos.rb')
-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