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:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:51:03 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 21:51:03 +0300
commit6d0980b011656b1570c94be8b3baf78c089f6bbd (patch)
tree07779b68f7ff67d2a8ec25187cc7ec90e7f65ae7 /spec/factories/ci
parent8549d709fbccfe1290d0ed59ee090c692518c776 (diff)
Fix: ci_*_build factory should be valid
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 3fe9a89ad1b..99da5a18776 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -37,6 +37,8 @@ FactoryGirl.define do
}
end
+ commit factory: :ci_commit
+
factory :ci_not_started_build do
started_at nil
finished_at nil