diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 15:10:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 15:10:33 +0300 |
commit | fdf32113c3924f7faec91101282fc28ec42fc869 (patch) | |
tree | 388fdb9982d5ae80c8bc9b9bdcc0dde98cd6ead9 /spec/workers | |
parent | 5add82515889cf332b65bbf59394079222dc66b3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/environments/stop_job_success_worker_spec.rb (renamed from spec/workers/build_success_worker_spec.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/build_success_worker_spec.rb b/spec/workers/environments/stop_job_success_worker_spec.rb index be9802eb2ce..3a2db8cfb77 100644 --- a/spec/workers/build_success_worker_spec.rb +++ b/spec/workers/environments/stop_job_success_worker_spec.rb @@ -2,13 +2,13 @@ require 'spec_helper' -RSpec.describe BuildSuccessWorker, feature_category: :continuous_integration do +RSpec.describe Environments::StopJobSuccessWorker, feature_category: :continuous_delivery do describe '#perform' do subject { described_class.new.perform(build.id) } context 'when build exists' do context 'when the build will stop an environment' do - let!(:build) { create(:ci_build, :stop_review_app, environment: environment.name, project: environment.project, status: :success) } + let!(:build) { create(:ci_build, :stop_review_app, environment: environment.name, project: environment.project, status: :success) } # rubocop:disable Layout/LineLength let(:environment) { create(:environment, state: :available) } it 'stops the environment' do |