summaryrefslogtreecommitdiff
path: root/spec/experiments/new_project_sast_enabled_experiment_spec.rb
blob: 38f58c019738cc8a7b6b2738bc09c1d6c6e12ff5 (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 NewProjectSastEnabledExperiment do
  it "defines the expected behaviors and variants" do
    expect(subject.behaviors.keys).to match_array(%w[control candidate free_indicator unchecked_candidate])
  end

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

    subject.publish
  end
end