diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 10:34:03 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 10:34:03 +0300 |
commit | 3e190d80310d900beaf42881e933ae4d3c2811a0 (patch) | |
tree | 26c110aceab0eff2f6c16af54531903b1553c123 /spec/factories | |
parent | cafe62b84a9c806535d604ff21c76548b6b06b68 (diff) |
Fix tests for adding environment_url
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 4 |
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 |