Commit 0d9db756 authored by Dallas Reedy's avatar Dallas Reedy

Add assertion on back-compat keys being non-empty

parent 7341a416
......@@ -25,6 +25,7 @@ RSpec.describe Gitlab::Experimentation::EXPERIMENTS do
backwards_compatible_experiment_keys = described_class.filter { |_, v| v[:use_backwards_compatible_subject_index] }.keys
expect(backwards_compatible_experiment_keys).not_to be_empty, "Oh, hey! Let's clean up that :use_backwards_compatible_subject_index stuff now :D"
expect(backwards_compatible_experiment_keys).to match(expected_experiment_keys)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment