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-07-27 18:09:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-27 18:09:25 +0300
commite69aae81ead38d4740771a5c8f0f33a4f248a312 (patch)
treeedeff4f4658db5ec3b3d6f658ddf018598af95bc /spec/services/ci/change_variables_service_spec.rb
parent8827c1d18473a3d84db181c89212975418a25e37 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/ci/change_variables_service_spec.rb')
-rw-r--r--spec/services/ci/change_variables_service_spec.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/services/ci/change_variables_service_spec.rb b/spec/services/ci/change_variables_service_spec.rb
deleted file mode 100644
index 5f1207eaf58..00000000000
--- a/spec/services/ci/change_variables_service_spec.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Ci::ChangeVariablesService do
- let(:service) { described_class.new(container: group, current_user: user, params: params) }
-
- let_it_be(:user) { create(:user) }
- let(:group) { spy(:group, variables: []) }
- let(:params) { { variables_attributes: [{ key: 'new_variable', value: 'variable_value' }] } }
-
- describe '#execute' do
- subject(:execute) { service.execute }
-
- it 'delegates to ActiveRecord update' do
- execute
-
- expect(group).to have_received(:update).with(params)
- end
- end
-end