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:
authorLin Jen-Shin <godfat@godfat.org>2017-05-25 10:34:03 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-05-25 10:34:03 +0300
commit3e190d80310d900beaf42881e933ae4d3c2811a0 (patch)
tree26c110aceab0eff2f6c16af54531903b1553c123 /spec/factories/ci
parentcafe62b84a9c806535d604ff21c76548b6b06b68 (diff)
Fix tests for adding environment_url
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index f5e99fdf00b..aeabb57c512 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -63,8 +63,10 @@ FactoryGirl.define do
trait :teardown_environment do
environment 'staging'
+ environment_url 'http://staging.example.com/$CI_JOB_NAME'
options environment: { name: 'staging',
- action: 'stop' }
+ action: 'stop',
+ url: 'http://staging.example.com/$CI_JOB_NAME' }
end
trait :allowed_to_fail do