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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-17 00:09:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-17 00:09:08 +0300
commitfd11748fe8dcb109a1bd0650963383d843ea7bd5 (patch)
tree82697d86388ad9c6d4455522a21c81906f1875b6 /spec/services/ci/pipeline_trigger_service_spec.rb
parentb58ab6c33c0369e402109d5388d4f6f73b7eb2bb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/ci/pipeline_trigger_service_spec.rb')
-rw-r--r--spec/services/ci/pipeline_trigger_service_spec.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/services/ci/pipeline_trigger_service_spec.rb b/spec/services/ci/pipeline_trigger_service_spec.rb
index 7cd0b8dd2ab..ac077e3c30e 100644
--- a/spec/services/ci/pipeline_trigger_service_spec.rb
+++ b/spec/services/ci/pipeline_trigger_service_spec.rb
@@ -161,29 +161,6 @@ RSpec.describe Ci::PipelineTriggerService do
expect(result[:pipeline].variables.map { |v| { v.key => v.value } }.first).to eq(variables)
expect(job.sourced_pipelines.last.pipeline_id).to eq(result[:pipeline].id)
end
-
- context 'when the config has workflow rule with the variable' do
- let(:config) do
- <<-EOY
- workflow:
- rules:
- - if: $AAA
-
- regular-job:
- script: 'echo Hello, World!'
- EOY
- end
-
- before do
- stub_ci_pipeline_yaml_file(config)
- end
-
- it 'runs the pipeline' do
- expect { result }.to change { Ci::Pipeline.count }.by(1)
-
- expect(result[:status]).to eq(:success)
- end
- end
end
end