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:
Diffstat (limited to 'spec/controllers/projects/ci/pipeline_editor_controller_spec.rb')
-rw-r--r--spec/controllers/projects/ci/pipeline_editor_controller_spec.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/spec/controllers/projects/ci/pipeline_editor_controller_spec.rb b/spec/controllers/projects/ci/pipeline_editor_controller_spec.rb
index 7952c9774af..d55aad20689 100644
--- a/spec/controllers/projects/ci/pipeline_editor_controller_spec.rb
+++ b/spec/controllers/projects/ci/pipeline_editor_controller_spec.rb
@@ -42,13 +42,10 @@ RSpec.describe Projects::Ci::PipelineEditorController do
project.add_developer(user)
end
- it 'tracks the assignment', :experiment do
- expect(experiment(:pipeline_editor_walkthrough))
- .to track(:assignment)
- .with_context(actor: user)
- .on_next_instance
+ subject(:action) { show_request }
- show_request
+ it_behaves_like 'tracks assignment and records the subject', :pipeline_editor_walkthrough, :namespace do
+ subject { project.namespace }
end
end
end