diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:17:46 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:17:46 +0900 |
commit | 85151ff6f65fcb3076b554c563ccc2fa458a9ccb (patch) | |
tree | d7c1a3fc58468813e98b09d721a46ef8052984b6 /spec | |
parent | c2f68b7ae319cb732eeaf53ddd020702644dc70d (diff) | |
download | gitlab-ce-85151ff6f65fcb3076b554c563ccc2fa458a9ccb.tar.gz |
Change feature flag to ci_disable_validates_dependencies to enable it as default
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/ci/register_job_service_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index 96d9fba2a2d..3440ce7f1e8 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -1870,7 +1870,7 @@ describe Ci::Build do describe 'state transition: any => [:running]' do before do - stub_feature_flags(ci_validates_dependencies: true) + stub_feature_flags(ci_disable_validates_dependencies: true) end let(:build) { create(:ci_build, :pending, pipeline: pipeline, stage_idx: 1, options: options) } diff --git a/spec/services/ci/register_job_service_spec.rb b/spec/services/ci/register_job_service_spec.rb index 19e78faa591..16218b78fb8 100644 --- a/spec/services/ci/register_job_service_spec.rb +++ b/spec/services/ci/register_job_service_spec.rb @@ -278,7 +278,7 @@ module Ci context 'when "dependencies" keyword is specified' do before do - stub_feature_flags(ci_validates_dependencies: true) + stub_feature_flags(ci_disable_validates_dependencies: false) end let!(:pre_stage_job) { create(:ci_build, :success, pipeline: pipeline, name: job_name, stage_idx: 0) } |