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:
authorTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 17:12:07 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 17:12:07 +0300
commit593d87ea54eec4d60cf7eeb404af82d9e015b066 (patch)
treebb72490018d244d432337a9c2948c0dbc6c3e62b /spec/factories/ci
parentd2601211a0c7a44666501dea82a8488b08f8faa7 (diff)
Add specs for build details/traces features in builds API
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index f76e826f138..4551ee57d78 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -30,6 +30,7 @@ FactoryGirl.define do
name 'test'
ref 'master'
tag false
+ created_at 'Di 29. Okt 09:50:00 CET 2013'
started_at 'Di 29. Okt 09:51:28 CET 2013'
finished_at 'Di 29. Okt 09:53:28 CET 2013'
commands 'ls -a'
@@ -54,5 +55,10 @@ FactoryGirl.define do
factory :ci_build_tag do
tag true
end
+
+ factory :ci_build_with_trace do
+ id 999
+ trace 'BUILD TRACE'
+ end
end
end