diff options
Diffstat (limited to 'spec/controllers/projects/ci/pipeline_editor_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/ci/pipeline_editor_controller_spec.rb | 9 |
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 |