Welcome to mirror list, hosted at ThFree Co, Russian Federation.

security_reports_mr_widget_prompt_experiment_spec.rb « experiments « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4328ff12d429debfe5f92325d7b5644f04eda46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SecurityReportsMrWidgetPromptExperiment do
  it "defines a control and candidate" do
    expect(subject.behaviors.keys).to match_array(%w[control candidate])
  end

  it "publishes to the database" do
    expect(subject).to receive(:publish_to_database)

    subject.publish
  end
end